summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 0e42bba..d9be987 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -42,6 +42,7 @@ SOURCE = main.c \
exit.c \
tape.c \
symtochar.c \
+ font.c \
expr.c \
z80.c \
z80_decode.c \
@@ -59,6 +60,7 @@ OBJECTS = main.o \
exit.o \
tape.o \
symtochar.o \
+ font.o \
expr.o \
z80.o \
z80_decode.o \
@@ -71,6 +73,27 @@ LIBS = `sdl2-config --libs`
$(TARGET): $(OBJECTS)
$(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)
+depend:
+ makedepend $(SOURCE)
+
clean:
- rm -f $(TARGET) $(TARGET).exe $(OBJECTS) core
+ rm -f $(TARGET) $(TARGET).exe $(OBJECTS) core Makefile.bak
+
+# DO NOT DELETE THIS LINE -- make depend depends on it.
+main.o: z80.h spec.h gfx.h gui.h memmenu.h config.h kbbmp.h exit.h tape.h
+main.o: util.h
+spec.o: spec.h z80.h snap.h gfx.h gui.h config.h exit.h tape.h util.h
+snap.o: snap.h z80.h util.h
+config.o: exit.h config.h
+gfx.o: gfx.h exit.h config.h util.h font.h
+gui.o: gui.h gfx.h exit.h symtochar.h util.h
+memmenu.o: memmenu.h z80.h spec.h gfx.h gui.h util.h expr.h
+util.o: util.h exit.h
+kbbmp.o: kbbmp.h
+exit.o: exit.h
+tape.o: tape.h util.h gui.h config.h
+symtochar.o: symtochar.h
+font.o: font.h
+z80.o: z80.h z80_private.h
+z80_decode.o: z80.h z80_private.h