2
0
mirror of https://git.zx2c4.com/cgit/ synced 2024-11-04 06:00:44 +00:00

Enable building with debuginfo

Add -g to CFLAGS when running make with DEBUG=1

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2007-01-17 01:13:05 +01:00
parent 23734c5a2b
commit 447025f62c

View File

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