2019-04-30 13:45:31 -04:00
|
|
|
zasm: zasm.c libz80/libz80.o kernel.h zasm.h
|
|
|
|
cc $< libz80/libz80.o -o $@
|
2019-04-16 13:36:57 -04:00
|
|
|
|
2019-04-30 13:45:31 -04:00
|
|
|
libz80/libz80.o: libz80/z80.c
|
|
|
|
make -C libz80/codegen opcodes
|
|
|
|
gcc -Wall -ansi -g -c -o libz80/libz80.o libz80/z80.c
|
2019-04-16 13:36:57 -04:00
|
|
|
|
2019-04-16 14:26:45 -04:00
|
|
|
kernel.h: glue.asm
|
2019-04-30 13:45:31 -04:00
|
|
|
scas -o - -I ../../../parts/z80 $< | ./bin2c.sh KERNEL | tee $@ > /dev/null
|
2019-04-16 13:36:57 -04:00
|
|
|
|
2019-04-30 13:52:14 -04:00
|
|
|
zasm.h: ../main.asm ../instr.asm ../tok.asm
|
2019-04-21 09:25:52 -04:00
|
|
|
scas -o - -I.. $< | ./bin2c.sh ZASM | tee $@ > /dev/null
|