mirror of
https://github.com/nealey/eris.git
synced 2025-01-19 05:14:40 -07:00
14 lines
234 B
Makefile
14 lines
234 B
Makefile
VERSION := $(shell head -n 1 CHANGES | tr -d :)
|
|
|
|
CFLAGS = -DFNORD='"eris/$(VERSION)"' -Wall -Werror
|
|
|
|
all: eris
|
|
|
|
eris: eris.c strings.c mime.c time.c cgi.c
|
|
$(CC) $(CFLAGS) -o $@ $<
|
|
|
|
test: eris
|
|
sh ./test.sh
|
|
|
|
clean:
|
|
rm -f *.[oa] eris
|