From f295f65db435ab7cb384e44e1dd74dc6d7a34853 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 20 Aug 2006 22:31:42 +0000 Subject: Initial compilable version --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2cb9ffb..961b9f5 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ # # ------------------------------------------------------------------------- # -# $Id: Makefile,v 1.1.1.1 2006-08-20 17:39:42 ianc Exp $ +# $Id: Makefile,v 1.2 2006-08-20 22:31:42 ianc Exp $ # # This CFLAGS assumes that gcc is being used. @@ -29,16 +29,18 @@ CFLAGS = -Wall -Werror -pedantic -ansi -O2 -finline-functions TARGET = emma -SOURCE = z80.c \ +SOURCE = z80.c \ + z80_decode \ emma.c -OBJECTS = z80.o \ +OBJECTS = z80.o \ + z80_decode.o \ emma.o all: $(TARGET) emucpm.hex $(TARGET): $(OBJECTS) - ld -o $(TARGET) $(OBJECTS) + cc -o $(TARGET) $(OBJECTS) emucpm.hex: emucpm.z80 tpasm -P Z80 -o intel emucpm.hex emucpm.z80 -- cgit v1.2.3