2020-12-02 18:06:45 +01:00
|
|
|
PREFIX?=/usr/local/
|
|
|
|
|
2020-12-01 23:39:05 +01:00
|
|
|
all: vger
|
|
|
|
|
|
|
|
clean:
|
2020-12-03 21:06:28 +01:00
|
|
|
rm -f vger *.core
|
2020-12-01 23:39:05 +01:00
|
|
|
|
|
|
|
vger: main.c
|
|
|
|
${CC} -o vger main.c
|
2020-12-02 20:02:07 +01:00
|
|
|
|
|
|
|
install: vger
|
|
|
|
install -o root -g wheel vger ${PREFIX}/bin/
|
2020-12-03 21:40:16 +01:00
|
|
|
install -o root -g wheel vger.8 ${PREFIX}/man/man8/
|
2020-12-01 23:39:05 +01:00
|
|
|
|
|
|
|
test: vger
|
|
|
|
cd tests && sh test.sh
|