summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ff2ba60..b6d7d7e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,15 @@
1CC?=gcc 1CC?=gcc
2CFLAGS+=-I../libowfat -Wall -pipe -Os # -DWANT_BLACKLIST -DWANT_CLOSED_TRACKER -DWANT_IP_FROM_QUERY_STRING -g -ggdb 2FEATURES=-DWANT_IP_FROM_QUERY_STRING #-DWANT_BLACKLIST -DWANT_CLOSED_TRACKER
3LDFLAGS+=-L../libowfat/ -lowfat -s -lm 3#DEBUG_OPTS=-g -ggdb -pg # -fprofile-arcs -ftest-coverage
4DEBUG_OPTS=-s -Os
5CFLAGS+=-I../libowfat -Wall -pipe
6LDFLAGS+=-L../libowfat/ -lowfat -lm
4 7
5HEADERS=trackerlogic.h scan_urlencoded_query.h 8HEADERS=trackerlogic.h scan_urlencoded_query.h
6SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c 9SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c
7 10
8opentracker: $(SOURCES) $(HEADERS) 11opentracker: $(SOURCES) $(HEADERS)
9 $(CC) $(SOURCES) -o opentracker $(CFLAGS) $(LDFLAGS) 12 $(CC) $(SOURCES) -o opentracker $(CFLAGS) $(FEATURES) $(DEBUG_OPTS) $(LDFLAGS)
10 13
11clean: 14clean:
12 rm -rf opentracker 15 rm -rf opentracker