1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-08 15:28:05 +11:00
collapseos/apps/zasm/emul/Makefile
Virgil Dupras 9acca52e44 zasm: begin parsing with easy pickings
Single opcodes that yield constants. "echo ret | zasm" yields 0xc9.
2019-04-16 16:49:47 -04:00

12 lines
275 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 - -I ./emul $< | ./bin2c.sh ZASM > $@