From ee7a713fc96fce079d514720472a1b36358bbaa9 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Thu, 18 Aug 2022 10:57:50 +0200 Subject: [PATCH] add installation target to makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 5628332..0421d4a 100644 --- a/Makefile +++ b/Makefile @@ -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