diff options
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 |