aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/makefile b/makefile
index 53e7f2b..8dc9205 100644
--- a/makefile
+++ b/makefile
@@ -15,6 +15,9 @@ endif
all: $(TARGET)
+debug: CFLAGS += -g
+debug: all
+
%.o: %.c
$(CC) -c $< -o $@ $(CFLAGS)