diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -18,7 +18,7 @@ # # ------------------------------------------------------------------------- # -# $Id: Makefile,v 1.5 2006-08-25 23:28:49 ianc Exp $ +# $Id: Makefile,v 1.6 2006-08-27 23:55:05 ianc Exp $ # # This CFLAGS assumes that gcc is being used. @@ -46,19 +46,22 @@ OBJECTS = z80.o \ expr.o \ emma.o -all: $(TARGET) emucpm.hex test.hex +all: $(TARGET) emucpm.hex zexdoc.hex zexall.hex $(TARGET): $(OBJECTS) cc -o $(TARGET) $(OBJECTS) -test.hex: test.z80 - tpasm -P Z80 -o intel test.hex test.z80 - emucpm.hex: emucpm.z80 tpasm -P Z80 -o intel emucpm.hex emucpm.z80 +zexdoc.hex: zexdoc.z80 + tpasm -P Z80 -o intel zexdoc.hex zexdoc.z80 + +zexall.hex: zexall.z80 + tpasm -P Z80 -o intel zexall.hex zexall.z80 + clean: - rm -f $(TARGET) $(OBJECTS) core $(TARGET).exe emucpm.hex test.hex + rm -f $(TARGET) $(OBJECTS) core $(TARGET).exe *.hex depend: makedepend -- $(CFLAGS) -- $(SOURCE) |