diff options
author | Ian C <ianc@noddybox.co.uk> | 2003-12-17 16:55:42 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2003-12-17 16:55:42 +0000 |
commit | 3a80024643367a4514f0160a90583e00042382b2 (patch) | |
tree | 16f463a5780b0ff04a13f997dcca9fb85986d33c /src/Makefile | |
parent | ee9ba2f27c4d2819742b637fe9c2c9ac0c031605 (diff) |
Added new files
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile index 784e345..5ebcd48 100644 --- a/src/Makefile +++ b/src/Makefile @@ -18,7 +18,7 @@ # # ------------------------------------------------------------------------- # -# $Id: Makefile,v 1.1.1.1 2003-12-17 01:36:18 ianc Exp $ +# $Id: Makefile,v 1.2 2003-12-17 16:55:42 ianc Exp $ # @@ -32,17 +32,23 @@ TARGET = ezx81 Z80LIB = z80/z80.a -SOURCE = ezx81.c +SOURCE = ezx81.c \ + zx81.c \ + exit.c -OBJECTS = ezx81.o +OBJECTS = ezx81.o \ + zx81.o \ + exit.o EMMA = emma -CFLAGS += -Iz80 +CFLAGS += -Iz80 `sdl-config --cflags` + +LIBS = $(Z80LIB) `sdl-config --libs` $(TARGET): $(OBJECTS) $(Z80LIB) - $(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS) $(Z80LIB) + $(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(EMMA): $(EMMA).o $(Z80LIB) $(CC) $(CFLAGS) -o $(EMMA) $(EMMA).o $(Z80LIB) @@ -51,7 +57,7 @@ $(Z80LIB): z80/*.[ch] cd z80; make ; cd .. clean: - rm -f $(TARGET) $(OBJECTS) core + rm -f $(TARGET) $(EMMA) $(EMMA).o $(OBJECTS) core cd z80; make clean; cd .. depend: |