aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorame <[email protected]>2024-04-20 01:23:13 -0500
committerame <[email protected]>2024-04-20 01:23:13 -0500
commit850410ef9564b076a787b871fd6cf861d3dd37f5 (patch)
treeab6c8861943d3d3ea47b43e382bfb72ea2df34bf /makefile
parent2b6f9144b282628ecb1ac77052a45de0c60d4716 (diff)
working on mem saftey
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)