aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-02-01 13:23:37 -0500
committerB. Watson <urchlay@slackware.uk>2024-02-01 13:23:37 -0500
commit7f866808e403b304e95967c0895bc1a4eb3344ec (patch)
tree0ae54550692ab2237cf4ba6b99e9e7542304f248 /Makefile
parentce96dd01f5418aaf2770e2b5eda7311c8f509c83 (diff)
downloadxdeadzone-7f866808e403b304e95967c0895bc1a4eb3344ec.tar.gz
Add debug target to Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f1e51db..4b7cc07 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,9 @@ LDFLAGS=-lX11 $(LIBS)
all: $(PROJ) $(PROJ).1
+debug: clean
+ $(MAKE) OPTFLAGS="-g -DDEBUG"
+
$(PROJ): $(PROJ).c
$(PROJ).1: $(PROJ).rst