urlfilter/Makefile

16 lines
235 B
Makefile
Raw Permalink Normal View History

2006-11-14 00:12:11 +01:00
CFLAGS := -O2 -Wall -g
all: urlfilter urlfilter.db
urlfilter: urlfilter.o
$(CC) $(CFLAGS) -lsqlite3 -o $@ $^
urlfilter.db: urlfilter.sql
sqlite3 $@ < $^
%.o: %.c
$(CC) $(CFLAGS) -c $^
clean:
rm -rf urlfilter urlfilter.db *.o