From ee2ab4fc801e716ae69fe0548d3477fbdd43036d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Tom=C3=A1s?= Date: Tue, 21 Apr 2020 11:30:13 -0300 Subject: Extract make flags --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6cf95e3..1d848c3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ +FLAGS=-ggdb -O0 -fno-builtin -Wall -lcurses + jet: Makefile *.c - gcc -ggdb -O0 -fno-builtin -Wall -lcurses jet.c -o ./bin/jet + gcc $(FLAGS) jet.c -o ./bin/jet page: Makefile page.c ./test/page.c - gcc -lcurses ./test/page.c -o ./bin/page + gcc $(FLAGS) ./test/page.c -o ./bin/page -- cgit v1.2.3