diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-08-20 22:31:42 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-08-20 22:31:42 +0000 |
commit | f295f65db435ab7cb384e44e1dd74dc6d7a34853 (patch) | |
tree | 7d9fe765fc9507e6ad800773c51bc5da5d0ae9df /Makefile | |
parent | 87ace20633ba711243e336630e2c9a8546516598 (diff) |
Initial compilable version
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |