2006-12-05 12:56:56 +00:00
|
|
|
CC?=gcc
|
2007-01-05 17:01:20 +00:00
|
|
|
CFLAGS+=-I../libowfat -Wall -pipe -Os # -DWANT_BLACKLIST -DWANT_CLOSED_TRACKER -DWANT_IP_FROM_QUERY_STRING -g -ggdb
|
2006-12-16 13:27:26 +00:00
|
|
|
LDFLAGS+=-L../libowfat/ -lowfat -s -lm
|
2006-12-05 12:56:56 +00:00
|
|
|
|
2006-12-15 23:38:18 +00:00
|
|
|
HEADERS=trackerlogic.h scan_urlencoded_query.h
|
2006-12-08 20:28:17 +00:00
|
|
|
SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c
|
2006-12-05 12:56:56 +00:00
|
|
|
|
2006-12-15 23:38:18 +00:00
|
|
|
opentracker: $(SOURCES) $(HEADERS)
|
2006-12-05 12:56:56 +00:00
|
|
|
$(CC) $(SOURCES) -o opentracker $(CFLAGS) $(LDFLAGS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf opentracker
|