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 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