summaryrefslogtreecommitdiff
path: root/Makefile
blob: 7d7d15d4ea104d2d636fcf6cbffe76395c6dd9b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CC?=gcc
CFLAGS+=-I../libowfat -Wall -pipe -Os
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