summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2020-03-19 22:51:10 +0000
committerIan C <ianc@noddybox.co.uk>2020-03-19 22:51:10 +0000
commit5106ea51907aa9f6a15070041fefd820671cc4ed (patch)
treedda3e6bc91586ff42cc92a5101efe8327ed1899a /src/Makefile
parent4e244ffab7a7bb44e4b535b0a290c99ecce3a3c2 (diff)
First attempt at display routine. Still keyboard handling to do.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 8deb3e5..9fc766e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -21,6 +21,9 @@ TARGET=czx81
# ncursesw
CURSES=-lncurses
+# For debug build
+#CFLAGS+=-g
+
OBJS= czx81.o \
z80.o \
z80_decode.o \
@@ -29,12 +32,12 @@ OBJS= czx81.o \
zx81rom.o
$(TARGET): $(OBJS)
- $(CC) -o $(TARGET) $(OBJS) $(CURSES)
+ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(CURSES)
clean:
rm -f $(TARGET) $(OBJS) core
-czx81.o: czx81.c wide_curses.h
+czx81.o: czx81.c wide_curses.h z80.h z80_config.h zx81rom.h
stream.o: stream.c stream.h
z80.o: z80.c z80.h z80_config.h z80_private.h stream.h
z80_decode.o: z80_decode.c z80.h z80_config.h z80_private.h