diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-08-25 23:28:49 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-08-25 23:28:49 +0000 |
commit | 458ae07fcde77592e06927f0dddcd12c8d242b29 (patch) | |
tree | 23a7c741e02a287df2b802184095dec9d6b4817a /Makefile | |
parent | 0034381aac6413def6960c7e4a1f8b84b5538549 (diff) |
Devolopment checkin. Compiles, but doesn't pass tests.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -18,14 +18,14 @@ # # ------------------------------------------------------------------------- # -# $Id: Makefile,v 1.4 2006-08-21 22:14:41 ianc Exp $ +# $Id: Makefile,v 1.5 2006-08-25 23:28:49 ianc Exp $ # # This CFLAGS assumes that gcc is being used. # Simply comment out if not, and replace as needed. # Other CFLAGS lines *are* required. # -CFLAGS = -Wall -Werror -pedantic -ansi -O2 -finline-functions +CFLAGS = -g -Wall -Werror -pedantic -ansi -O2 -finline-functions # Remove this to disable the disassembler (saving some memory) # @@ -46,16 +46,19 @@ OBJECTS = z80.o \ expr.o \ emma.o -all: $(TARGET) emucpm.hex +all: $(TARGET) emucpm.hex test.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 clean: - rm -f $(TARGET) $(OBJECTS) core $(TARGET).exe emucpm.hex + rm -f $(TARGET) $(OBJECTS) core $(TARGET).exe emucpm.hex test.hex depend: makedepend -- $(CFLAGS) -- $(SOURCE) |