summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2019-08-09 05:51:46 +0100
committerKatolaZ <katolaz@freaknet.org>2019-08-09 05:51:46 +0100
commitc5e820787de73a668d848dd16649e685eb36c3dd (patch)
treeaf952470290476a52fa95f8f6458115fb1f6b84c /Makefile
parentc16e74036e791b2c1f9c19841fc75a60067aefec (diff)
add debug target in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 71887b1..eec14c1 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,9 @@ gramscii: ${OBJ}
${OBJ}: ${INC}
+debug: clean
+ ${MAKE} ${MAKEFILE} CFLAGS="-O0 -Wall -pedantic -g -DDEBUG=1"
+
clean:
@echo cleaning
@rm -f gramscii ${OBJ}