From ede81f734d6c0f1e57d1e96ca5d74de237940857 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Sun, 5 Jul 2020 13:47:36 +0100 Subject: [PATCH] Tweaks. --- makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 7a52489..a47678c 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,12 @@ LDFLAGS=-lncurses +FLAGS=-Wall CC=gcc main: *.c - $(CC) *.c -o main ${LDFLAGS} + $(CC) *.c ${FLAGS} -o main ${LDFLAGS} + +clean: + rm main + $(CC) *.c ${FLAGS} -o main ${LDFLAGS}