Add simple Makefile with test suite

This commit is contained in:
Solene Rapenne 2021-02-26 00:10:27 +01:00
parent 40f8a39e3d
commit 23fa24541c

11
Makefile Normal file
View File

@ -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