From 23fa24541cea749d5a8239db7897b940aef1225a Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Fri, 26 Feb 2021 00:10:27 +0100 Subject: [PATCH] Add simple Makefile with test suite --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..710ba1d --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +all: iblock + +iblock: + ${CC} -o iblock main.c + +clean: + rm -f iblock + +test: clean iblock + @printf "hello\n" | nc -4 localhost 1965 + @printf "hello\n" | nc -6 localhost 1965