CC = gcc
CFLAGS = -O2

default: ircstats

ircstats: src/ircstats.c
	$(CC) $(CFLAGS) src/ircstats.c -o src/ircstats
	install -m 755 src/ircstats .

install:
	@echo "You'll have to do this manually."

clean:
	rm -f src/*.o *~ core src/*.i ircstats src/ircstats data/* html/*.html
