summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 5 insertions, 22 deletions
diff --git a/Makefile b/Makefile
index d8482f5..b561b76 100644
--- a/Makefile
+++ b/Makefile
@@ -1,26 +1,9 @@
+SUBDIRS=from_timex from_others from_toebes
+default:
+ for i in ${SUBDIRS}; do ${MAKE} -C $$i; done
-APPDIRS=hello number update flash password dayfind 3ball
-
-APPS=${foreach appdir,${APPDIRS},${appdir}/${appdir}.app}
-PS=${APPS:%.app=%.p}
-LSTS=${APPS:%.app=%.lst}
-
-CROSS=../asl/
-
-AFLAGS=-i dl150/include -cpu datalink
-AS=${CROSS}asl ${AFLAGS}
-
-P2BIN=${CROSS}p2bin
-
-
-default:${APPS}
-
-%.app:%.p
- ${P2BIN} $< $@ -r 0x110-\$$
-
-%.p:%.asm
- ${AS} -L ${@:%.p=%.lst} -o $@ $<
clean:
- /bin/rm -f ${APPS} ${PS} ${LSTS}
+ for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done
+