summaryrefslogtreecommitdiff
path: root/Makefile
blob: f2c65c6c30a5b5e8c79ef0736c758e3b1aaa24c7 (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

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