vger/Makefile

19 lines
376 B
Makefile
Raw Permalink Normal View History

PREFIX?=/usr/local/
CFLAGS += -pedantic -Wall -Wextra -Wmissing-prototypes \
-Wstrict-prototypes -Wwrite-strings
2020-12-02 09:39:05 +11:00
all: vger
clean:
2020-12-05 05:29:44 +11:00
rm -f vger *.core *.o
vger: main.o mimes.o opts.h
2020-12-05 05:29:44 +11:00
${CC} -o vger main.o mimes.o
install: vger
install -o root -g wheel vger ${PREFIX}/bin/
2020-12-04 07:40:16 +11:00
install -o root -g wheel vger.8 ${PREFIX}/man/man8/
2020-12-02 09:39:05 +11:00
test: vger
cd tests && sh test.sh