eris/Makefile

15 lines
264 B
Makefile
Raw Normal View History

2012-02-13 17:06:42 -07:00
VERSION := $(shell head -n 1 CHANGES | tr -d :)
2011-10-19 15:18:16 -06:00
2012-02-13 17:06:42 -07:00
CFLAGS = -DFNORD='fnord/$(VERSION)'
2011-08-16 14:36:11 -06:00
all: fnord fnord-cgi fnord-idx
2012-02-13 17:06:42 -07:00
fnord-cgi: httpd.c
fnord-cgi: CFLAGS += -DCGI
2011-08-16 14:36:11 -06:00
2012-02-13 17:06:42 -07:00
fnord-idx: httpd.c
fnord-idx: CFLAGS += -DDIR_LIST
2011-08-16 14:36:11 -06:00
clean:
2012-02-13 17:06:42 -07:00
rm -f *.[oa] fnord fnord-cgi fnord-idx