summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2026-06-18 17:59:27 +0100
committerIan C <ianc@noddybox.co.uk>2026-06-18 17:59:27 +0100
commit367deac64834ba0264e4240f32a4a11395114e0f (patch)
tree22eb21dbd15aee1969703c7f17029178267670e0 /src/Makefile
parent8feb0c4306f2848cc62d83c671d29f1bee87dee7 (diff)
Made font not defined in header. Added makedepend.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index e50c10d..7cb459a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -38,6 +38,7 @@ SOURCE = main.c \
memmenu.c \
util.c \
exit.c \
+ font.c \
expr.c \
z80.c \
z80_decode.c \
@@ -51,6 +52,7 @@ OBJECTS = main.o \
memmenu.o \
util.o \
exit.o \
+ font.o \
expr.o \
z80.o \
z80_decode.o \
@@ -64,5 +66,10 @@ LIBS = `sdl2-config --libs`
$(TARGET): $(OBJECTS) $(Z80LIB)
$(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.