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-03-07 18:10:16 -07:00
|
|
|
CFLAGS = -DFNORD='"eris/$(VERSION)"' -Wall -Werror
|
2011-08-16 14:36:11 -06:00
|
|
|
|
2012-02-16 20:18:17 -07:00
|
|
|
all: eris
|
2011-08-16 14:36:11 -06:00
|
|
|
|
2012-03-07 20:55:27 -07:00
|
|
|
eris: eris.c strings.c mime.c time.c cgi.c
|
2012-03-07 18:10:16 -07:00
|
|
|
$(CC) $(CFLAGS) -o $@ $<
|
|
|
|
|
2012-02-16 20:18:17 -07:00
|
|
|
test: eris
|
2012-02-24 20:06:17 -07:00
|
|
|
sh ./test.sh
|
2012-02-15 21:58:43 -07:00
|
|
|
|
2011-08-16 14:36:11 -06:00
|
|
|
clean:
|
2012-02-16 20:18:17 -07:00
|
|
|
rm -f *.[oa] eris
|