From ee33718ab57c5a041b55c70c0ae7e046b3d1592b Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Tue, 28 May 2019 12:09:03 +0100 Subject: general tidy up add all the timex apps and the toebes apps and numpad --- Makefile | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) (limited to 'Makefile') 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 + -- cgit v1.2.3