summaryrefslogtreecommitdiff
path: root/Makefile
blob: bff7daf54229ba6ac0522ddae92eba8cfd179231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CC?=gcc
CFLAGS+=-I../libowfat -Wall -pipe -O2
LDFLAGS+=-L../libowfat/ -lowfat -s -lm

HEADERS=trackerlogic.h scan_urlencoded_query.h
SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c

opentracker: $(SOURCES) $(HEADERS)
	$(CC) $(SOURCES) -o opentracker $(CFLAGS) $(LDFLAGS)

clean:
	rm -rf opentracker