diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 27 |
1 files changed, 5 insertions, 22 deletions
@@ -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 + |