From: Jérôme Benoit Date: Tue, 28 Feb 2017 14:10:59 +0000 (+0100) Subject: Enable more warning at compilation time. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4593ff984d50f6eb003613823c625398b6406390;p=TD_C.git Enable more warning at compilation time. Signed-off-by: Jérôme Benoit --- diff --git a/TP_8/exo3/Makefile b/TP_8/exo3/Makefile index c31747a..fc320df 100644 --- a/TP_8/exo3/Makefile +++ b/TP_8/exo3/Makefile @@ -2,8 +2,8 @@ TARGET = exo3 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/exo_skel/Makefile b/exo_skel/Makefile index 51af164..1822902 100644 --- a/exo_skel/Makefile +++ b/exo_skel/Makefile @@ -2,8 +2,8 @@ TARGET = exo_skel 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