From af3ee3adfec4f801f8523d4d3769f48eaeb50123 Mon Sep 17 00:00:00 2001 From: rafagafe Date: Mon, 14 May 2018 13:01:12 +0200 Subject: [PATCH] The warning all flag is added. --- makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/makefile b/makefile index 800cd28..5151bde 100644 --- a/makefile +++ b/makefile @@ -12,22 +12,22 @@ test: test.exe ./test.exe example-01.exe: example-01.o tiny-json.o - gcc -o example-01.exe example-01.o tiny-json.o + gcc -Wall -o example-01.exe example-01.o tiny-json.o example-02.exe: example-02.o tiny-json.o - gcc -o example-02.exe example-02.o tiny-json.o + gcc -Wall -o example-02.exe example-02.o tiny-json.o test.exe: tests.o tiny-json.o - gcc -o test.exe tests.o tiny-json.o + gcc -Wall -o test.exe tests.o tiny-json.o tiny-json.o: tiny-json.c tiny-json.h - gcc -c tiny-json.c + gcc -Wall -c tiny-json.c example-01.o: example-01.c tiny-json.h - gcc -c example-01.c + gcc -Wall -c example-01.c example-02.o: example-02.c tiny-json.h - gcc -c example-02.c + gcc -Wall -c example-02.c tests.o: tests.c tiny-json.h - gcc -c tests.c + gcc -Wall -c tests.c