1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-28 03:48:05 +11:00
collapseos/apps/zasm/emul/Makefile

12 lines
325 B
Makefile
Raw Normal View History

zasm: zasm.c libz80/libz80.so kernel.h zasm.h
cc $< -l z80 -L./libz80 -Wl,-rpath ./libz80 -o $@
libz80/libz80.so: libz80/Makefile
make -C libz80
kernel.h: glue.asm
2019-04-17 07:00:19 +10:00
scas -o - -I ../../../parts $< | ./bin2c.sh KERNEL | tee $@ > /dev/null
zasm.h: ../zasm.asm
2019-04-17 07:00:19 +10:00
scas -o - -I ./emul $< | ./bin2c.sh ZASM | tee $@ > /dev/null