mirror of git://erdgeist.org/opentracker
erdgeist
18 years ago
1 changed files with 6 additions and 3 deletions
@ -1,12 +1,15 @@ |
|||||||
CC?=gcc |
CC?=gcc |
||||||
CFLAGS+=-I../libowfat -Wall -pipe -Os # -DWANT_BLACKLIST -DWANT_CLOSED_TRACKER -DWANT_IP_FROM_QUERY_STRING -g -ggdb |
FEATURES=-DWANT_IP_FROM_QUERY_STRING #-DWANT_BLACKLIST -DWANT_CLOSED_TRACKER |
||||||
LDFLAGS+=-L../libowfat/ -lowfat -s -lm |
#DEBUG_OPTS=-g -ggdb -pg # -fprofile-arcs -ftest-coverage
|
||||||
|
DEBUG_OPTS=-s -Os |
||||||
|
CFLAGS+=-I../libowfat -Wall -pipe |
||||||
|
LDFLAGS+=-L../libowfat/ -lowfat -lm |
||||||
|
|
||||||
HEADERS=trackerlogic.h scan_urlencoded_query.h |
HEADERS=trackerlogic.h scan_urlencoded_query.h |
||||||
SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c |
SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c |
||||||
|
|
||||||
opentracker: $(SOURCES) $(HEADERS) |
opentracker: $(SOURCES) $(HEADERS) |
||||||
$(CC) $(SOURCES) -o opentracker $(CFLAGS) $(LDFLAGS) |
$(CC) $(SOURCES) -o opentracker $(CFLAGS) $(FEATURES) $(DEBUG_OPTS) $(LDFLAGS) |
||||||
|
|
||||||
clean: |
clean: |
||||||
rm -rf opentracker |
rm -rf opentracker |
||||||
|
Loading…
Reference in new issue