summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorfishsoupisgood <github@madingley.org>2019-05-28 12:09:03 +0100
committerfishsoupisgood <github@madingley.org>2019-05-28 12:09:03 +0100
commitee33718ab57c5a041b55c70c0ae7e046b3d1592b (patch)
tree118fa6880cb9f8d592516c5b40325f9b7448d0af /Makefile
parent8110dec1577d9a9002119c15467d71d8a1f51bc8 (diff)
downloadwristapps-ee33718ab57c5a041b55c70c0ae7e046b3d1592b.tar.gz
wristapps-ee33718ab57c5a041b55c70c0ae7e046b3d1592b.tar.bz2
wristapps-ee33718ab57c5a041b55c70c0ae7e046b3d1592b.zip
general tidy up add all the timex apps and the toebes apps and numpad
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
+