summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6f9a82b..a224845 100644
--- a/Makefile
+++ b/Makefile
@@ -49,10 +49,12 @@ FEATURES+=-DWANT_FULLSCRAPE
49#FEATURES+=-D_DEBUG_HTTPERROR 49#FEATURES+=-D_DEBUG_HTTPERROR
50#FEATURES+=-D_DEBUG_RANDOMTORRENTS 50#FEATURES+=-D_DEBUG_RANDOMTORRENTS
51 51
52GIT_VERSION=$(shell sh -c 'command -v git >/dev/null && test -d .git && git rev-parse HEAD || echo _git_or_commit_not_found_')
53
52OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage 54OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage
53OPTS_production=-O3 55OPTS_production=-O3
54 56
55CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -pthread -Wextra #-ansi -pedantic 57CFLAGS+=-I$(LIBOWFAT_HEADERS) -DGIT_VERSION=$(GIT_VERSION) -Wall -pipe -pthread -Wextra #-ansi -pedantic
56LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lz 58LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lz
57#LDFLAGS+=-lbsd 59#LDFLAGS+=-lbsd
58 60