diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -4,12 +4,14 @@ CC?=gcc | |||
4 | #FEATURES+=-DWANT_CLOSED_TRACKER | 4 | #FEATURES+=-DWANT_CLOSED_TRACKER |
5 | #FEATURES+=-DWANT_UTORRENT1600_WORKAROUND | 5 | #FEATURES+=-DWANT_UTORRENT1600_WORKAROUND |
6 | #FEATURES+=-DWANT_IP_FROM_QUERY_STRING | 6 | #FEATURES+=-DWANT_IP_FROM_QUERY_STRING |
7 | #FEATURES+=-DWANT_COMPRESSION_GZIP | ||
7 | #FEATURES+=-D_DEBUG_HTTPERROR | 8 | #FEATURES+=-D_DEBUG_HTTPERROR |
9 | |||
8 | OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage | 10 | OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage |
9 | OPTS_production=-Os | 11 | OPTS_production=-Os |
10 | CFLAGS+=-I../libowfat -Wall -pipe -Wextra #-pedantic -ansi | 12 | CFLAGS+=-I../libowfat -Wall -pipe -Wextra #-pedantic -ansi |
11 | LDFLAGS+=-L../libowfat/ -lowfat -pthread | 13 | LDFLAGS+=-L../libowfat/ -lowfat -pthread -lz |
12 | 14 | ||
13 | BINARY =opentracker | 15 | BINARY =opentracker |
14 | HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.h ot_sync.h ot_vector.h ot_clean.h ot_udp.h ot_iovec.h ot_fullscrape.h ot_accesslist.h | 16 | HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.h ot_sync.h ot_vector.h ot_clean.h ot_udp.h ot_iovec.h ot_fullscrape.h ot_accesslist.h |
15 | SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c ot_mutex.c ot_stats.c ot_sync.c ot_vector.c ot_clean.c ot_udp.c ot_iovec.c ot_fullscrape.c ot_accesslist.c | 17 | SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c ot_mutex.c ot_stats.c ot_sync.c ot_vector.c ot_clean.c ot_udp.c ot_iovec.c ot_fullscrape.c ot_accesslist.c |