1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 12:28:06 +11:00
collapseos/apps/zasm/emul/Makefile
Virgil Dupras 88cee235b1 zasm: have a whole kernel in emulation instead of a simple wrapper
zasm is going to need to call to kernel code...
2019-04-16 14:26:45 -04:00

12 lines
265 B
Makefile

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
scas -o - $< | ./bin2c.sh KERNEL > $@
zasm.h: ../zasm.asm
scas -o - $< | ./bin2c.sh ZASM > $@