From: Jérôme Benoit Date: Tue, 28 Feb 2017 14:16:53 +0000 (+0100) Subject: Enable more warnings on more TP examples. X-Git-Url: https://git.piment-noir.org/?p=TD_C.git;a=commitdiff_plain;h=edbb50f74ef3aee9cb8119a54143ba845e3b6de0 Enable more warnings on more TP examples. Signed-off-by: Jérôme Benoit --- diff --git a/TP_8/exo1/Makefile b/TP_8/exo1/Makefile index b24c120..4db03fb 100644 --- a/TP_8/exo1/Makefile +++ b/TP_8/exo1/Makefile @@ -2,8 +2,8 @@ TARGET = exo1 LIBS = CC = gcc # Enforce C11 ISO standard for now -CFLAGS = -std=c11 -g -Wall -LDFLAGS = -g -Wall +CFLAGS = -std=c11 -g -Wall -Wextra +LDFLAGS = -g -Wall -Wextra .PHONY: default all clean diff --git a/TP_8/exo2/Makefile b/TP_8/exo2/Makefile index 184cdd5..20b3d81 100644 --- a/TP_8/exo2/Makefile +++ b/TP_8/exo2/Makefile @@ -2,8 +2,8 @@ TARGET = exo2 LIBS = CC = gcc # Enforce C11 ISO standard for now -CFLAGS = -std=c11 -g -Wall -LDFLAGS = -g -Wall +CFLAGS = -std=c11 -g -Wall -Wextra +LDFLAGS = -g -Wall -Wextra .PHONY: default all clean