summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-08-20 22:31:42 +0000
committerIan C <ianc@noddybox.co.uk>2006-08-20 22:31:42 +0000
commitf295f65db435ab7cb384e44e1dd74dc6d7a34853 (patch)
tree7d9fe765fc9507e6ad800773c51bc5da5d0ae9df /Makefile
parent87ace20633ba711243e336630e2c9a8546516598 (diff)
Initial compilable version
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