diff options
author | erdgeist <> | 2007-01-06 22:25:09 +0000 |
---|---|---|
committer | erdgeist <> | 2007-01-06 22:25:09 +0000 |
commit | 6b329a69599b2898561df1c8c52f776697481b11 (patch) | |
tree | f694b918351ec8c1a4442c995c508c76a87338f8 /Makefile | |
parent | 17c21a0bc4394ac6f0649b4b9c535554a0d8ace0 (diff) |
tidy up options
Diffstat (limited to 'Makefile')
-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 |