]> pilppa.org Git - uci.git/blobdiff - Makefile
improved debugging
[uci.git] / Makefile
index 01063a87e8954769e02816f8def0f426f86531a3..a738f539b9ab7cbeade88e5a5294e4e8a993c66a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 COPTS=-g -O2
-CFLAGS=$(COPTS) -fPIC -Wall -pedantic -std=gnu99 -Wno-unused -Werror
+CFLAGS=$(COPTS) -fPIC -Wall -pedantic -std=gnu99 -Wno-unused -Werror $(if $(DEBUG),-DDEBUG_ALL)
 
 AR=ar
 CC=gcc