diff Makefile @ 199:69585e7d474f

Add initial stab at Z80 decoder and disassembler
author Mike Pavone <pavone@retrodev.com>
date Sun, 20 Jan 2013 19:11:24 -0800
parents d9ff99ef5533
children 3457dc6fd558
line wrap: on
line diff
--- a/Makefile	Sun Jan 20 19:10:29 2013 -0800
+++ b/Makefile	Sun Jan 20 19:11:24 2013 -0800
@@ -7,6 +7,9 @@
 
 dis : dis.o 68kinst.o
 	$(CC) -o dis dis.o 68kinst.o
+
+zdis : zdis.o z80inst.o
+	$(CC) -o zdis zdis.o z80inst.o
 	
 trans : trans.o 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o
 	$(CC) -o trans trans.o 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o
@@ -29,5 +32,8 @@
 %.bin : %.s68
 	vasmm68k_mot -Fbin -m68000 -no-opt -spaces -o $@ $<
 
+%.bin : %.sz8
+	vasmz80_mot -Fbin -spaces -o $@ $<
+
 clean :
 	rm -rf dis trans stateview test_x86 gen_fib *.o