diff options
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,12 +1,15 @@ | |||
1 | CC?=gcc | 1 | CC?=gcc |
2 | CFLAGS+=-I../libowfat -Wall -pipe -Os # -DWANT_BLACKLIST -DWANT_CLOSED_TRACKER -DWANT_IP_FROM_QUERY_STRING -g -ggdb | 2 | FEATURES=-DWANT_IP_FROM_QUERY_STRING #-DWANT_BLACKLIST -DWANT_CLOSED_TRACKER |
3 | LDFLAGS+=-L../libowfat/ -lowfat -s -lm | 3 | #DEBUG_OPTS=-g -ggdb -pg # -fprofile-arcs -ftest-coverage |
4 | DEBUG_OPTS=-s -Os | ||
5 | CFLAGS+=-I../libowfat -Wall -pipe | ||
6 | LDFLAGS+=-L../libowfat/ -lowfat -lm | ||
4 | 7 | ||
5 | HEADERS=trackerlogic.h scan_urlencoded_query.h | 8 | HEADERS=trackerlogic.h scan_urlencoded_query.h |
6 | SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c | 9 | SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c |
7 | 10 | ||
8 | opentracker: $(SOURCES) $(HEADERS) | 11 | opentracker: $(SOURCES) $(HEADERS) |
9 | $(CC) $(SOURCES) -o opentracker $(CFLAGS) $(LDFLAGS) | 12 | $(CC) $(SOURCES) -o opentracker $(CFLAGS) $(FEATURES) $(DEBUG_OPTS) $(LDFLAGS) |
10 | 13 | ||
11 | clean: | 14 | clean: |
12 | rm -rf opentracker | 15 | rm -rf opentracker |