From 458ae07fcde77592e06927f0dddcd12c8d242b29 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 25 Aug 2006 23:28:49 +0000 Subject: Devolopment checkin. Compiles, but doesn't pass tests. --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6031150..a77cfcd 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3