1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-14 00:40:09 +00:00
opentracker/Makefile

16 lines
507 B
Makefile
Raw Normal View History

2006-12-05 12:56:56 +00:00
CC?=gcc
FEATURES=#-DWANT_IP_FROM_QUERY_STRING -DWANT_BLACKLIST -DWANT_CLOSED_TRACKER
2007-01-06 22:25:09 +00:00
#DEBUG_OPTS=-g -ggdb -pg # -fprofile-arcs -ftest-coverage
DEBUG_OPTS=-s -Os
CFLAGS+=-I../libowfat -Wall -pipe -m64 # -pedantic -ansi
2007-01-06 22:25:09 +00:00
LDFLAGS+=-L../libowfat/ -lowfat -lm
2006-12-05 12:56:56 +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
opentracker: $(SOURCES) $(HEADERS)
2007-01-06 22:25:09 +00:00
$(CC) $(SOURCES) -o opentracker $(CFLAGS) $(FEATURES) $(DEBUG_OPTS) $(LDFLAGS)
2006-12-05 12:56:56 +00:00
clean:
rm -rf opentracker