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