iblock/Makefile

16 lines
362 B
Makefile
Raw Normal View History

CFLAGS += -pedantic -Wall -Wextra -Wmissing-prototypes \
-Werror -Wshadow -Wstrict-overflow -fno-strict-aliasing \
-Wstrict-prototypes -Wwrite-strings \
-Os
2021-02-25 23:10:27 +00:00
all: iblock
iblock: main.c
2021-02-25 23:10:27 +00:00
${CC} -o iblock main.c
clean:
rm -f iblock
test: clean iblock
@printf "hello\n" | nc -4 localhost 666
@printf "hello\n" | nc -6 localhost 666