summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
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