RABBITSIGN = rabbitsign TPASM = tpasm TPASMFLAGS = -I /home/benjamin/programs/include/tpasm STACKER = /home/benjamin/programs/stacker.pl all: ../mimas.8xk ../mimas.8xk: mimas.asm *.asm *.inc insts.inc irules.asm itempl.asm itables.asm sysdata.asm $(TPASM) $(TPASMFLAGS) mimas.asm -o intel mimas.hex -l mimas.lst -$(STACKER) -c mimas.asm ./summary.pl mimas.lst $(RABBITSIGN) -gu mimas.hex -o ../mimas.8xk insts.inc irules.asm itempl.asm itables.asm: insts.dat gen-insts.pl ./gen-insts.pl sysdata.asm: romcalls.dat sysaddrs.dat flags.dat enums.dat gen-builtins.pl ./gen-builtins.pl clean: rm -f mimas.hex mimas.lst ../mimas.8xk superclean: clean rm -f insts.inc irules.asm itempl.asm itables.asm sysdata.asm .PHONY: all clean superclean