irc-bot/Makefile

17 lines
276 B
Makefile
Raw Permalink Normal View History

2011-01-06 21:08:21 -07:00
CFLAGS = -Wall -Werror
2014-06-12 21:56:33 -06:00
TARGETS = bot factoids slack.cgi
2011-01-06 21:08:21 -07:00
all: $(TARGETS)
2012-11-27 18:26:54 -07:00
%: src/%
cp $< $@
src/bot:
src/factoids: src/factoids.o src/cdb.o src/cdbmake.o
2012-11-19 14:53:00 -07:00
2014-06-12 21:56:33 -06:00
src/slack.cgi: src/slack.cgi.o src/cgi.o
.PHONY: clean
clean:
2012-11-27 18:26:54 -07:00
rm -f $(TARGETS) $(addprefix src/, $(TARGETS)) src/*.o