diff --git a/Makefile b/Makefile index c290c6f..a3e9b05 100644 --- a/Makefile +++ b/Makefile @@ -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