1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-26 06:18:06 +11:00
collapseos/apps/zasm/emul/Makefile
Virgil Dupras 1ae2331763 Add zasm app
For now, only a dummy app, but it's emulated properly with libz80.
Exciting times!
2019-04-16 13:36:57 -04:00

12 lines
271 B
Makefile

zasm: zasm.c libz80/libz80.so wrapper.h zasm.h
cc $< -l z80 -L./libz80 -Wl,-rpath ./libz80 -o $@
libz80/libz80.so: libz80/Makefile
make -C libz80
wrapper.h: wrapper.asm
scas -o - $< | ./bin2c.sh WRAPPER > $@
zasm.h: ../zasm.asm
scas -o - $< | ./bin2c.sh ZASM > $@