2020-12-03 04:06:45 +11:00
|
|
|
PREFIX?=/usr/local/
|
|
|
|
|
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
|
|
|
|
${CC} -o vger main.o mimes.o
|
|
|
|
|
2020-12-03 06:02:07 +11:00
|
|
|
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
|