1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-28 09:28:06 +11:00
collapseos/apps/zasm/emul/Makefile

13 lines
436 B
Makefile
Raw Normal View History

zasm: zasm.c libz80/libz80.o kernel.h zasm.h
cc $< libz80/libz80.o -o $@
libz80/libz80.o: libz80/z80.c
make -C libz80/codegen opcodes
gcc -Wall -ansi -g -c -o libz80/libz80.o libz80/z80.c
kernel.h: glue.asm
scas -o - -I ../../../parts/z80 $< | ./bin2c.sh KERNEL | tee $@ > /dev/null
2019-05-02 01:26:41 +10:00
zasm.h: $(addprefix ../, main.asm instr.asm directive.asm tok.asm literal.asm util.asm)
2019-04-21 23:25:52 +10:00
scas -o - -I.. $< | ./bin2c.sh ZASM | tee $@ > /dev/null