]> gitweb.ps.run Git - ps-cgit/blobdiff - Makefile
Enable building with debuginfo
[ps-cgit] / Makefile
index 52e1cb798650c732fc820ea129d8a592c5681283..a3e9b053e6d38bf1cde875cb11e2184a7e6cf21f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CGIT_VERSION = 0.1-pre
+CGIT_VERSION = 0.1
 
 INSTALL_BIN = /var/www/htdocs/cgit.cgi
 INSTALL_CSS = /var/www/htdocs/cgit.css
@@ -10,6 +10,10 @@ OBJECTS = shared.o cache.o parsing.o html.o ui-shared.o ui-repolist.o \
 
 CFLAGS += -Wall
 
+ifdef DEBUG
+       CFLAGS += -g
+endif
+
 all: cgit
 
 install: all clean-cache