diff options
author | fishsoupisgood <github@madingley.org> | 2019-05-27 03:25:05 +0100 |
---|---|---|
committer | fishsoupisgood <github@madingley.org> | 2019-05-27 03:25:05 +0100 |
commit | e070d1885626a365099fac3caf0b537d04f4900e (patch) | |
tree | d64cb21715b8c8aa7d5082f739d62748aa757ad1 /Makefile | |
download | wristapps-e070d1885626a365099fac3caf0b537d04f4900e.tar.gz wristapps-e070d1885626a365099fac3caf0b537d04f4900e.tar.bz2 wristapps-e070d1885626a365099fac3caf0b537d04f4900e.zip |
first batch of wristapps working with new assembler
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e06b22c --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ + + +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 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} |