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
commita761abf2676cce6d63b5a5b94905b286a93472eb (patch)
treeab6c8861943d3d3ea47b43e382bfb72ea2df34bf /makefile
parentcebd1b729739b020d6b3700c87c4ef8d4d67890a (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)