add installation target to makefile

This commit is contained in:
Solene Rapenne 2022-08-18 10:57:50 +02:00
parent b2219c036f
commit ee7a713fc9
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ iblock: main.c
clean:
rm -f iblock
install: iblock
install -o root -g wheel iblock ${PREFIX}/sbin/
test: clean iblock
@printf "hello\n" | nc -4 localhost 666
@printf "hello\n" | nc -6 localhost 666