From: Jérôme Benoit Date: Wed, 8 Mar 2017 21:58:51 +0000 (+0100) Subject: Fix a GCC flag in Makefiles X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5e90a798f3e6acf9ed025f2cf6efa96e60688105;p=Algorithmic_C.git Fix a GCC flag in Makefiles Signed-off-by: Jérôme Benoit --- diff --git a/TP1/exo3/Makefile b/TP1/exo3/Makefile index d6f215e..bcefbf5 100644 --- a/TP1/exo3/Makefile +++ b/TP1/exo3/Makefile @@ -35,7 +35,7 @@ else BUILDDIR := .build/release DEBUG_FLAG = STRIP_FLAG = -s -OPTIFLAG = -O3 +OPTI_FLAG = -O3 endif CFLAGS := $(CFLAGS) $(WARN_FLAGS) $(STD_FLAG) $(OPTI_FLAG) $(DEBUG_FLAG) diff --git a/TP2/exo1/Makefile b/TP2/exo1/Makefile index 7ce716c..0a46026 100644 --- a/TP2/exo1/Makefile +++ b/TP2/exo1/Makefile @@ -35,7 +35,7 @@ else BUILDDIR := .build/release DEBUG_FLAG = STRIP_FLAG = -s -OPTIFLAG = -O3 +OPTI_FLAG = -O3 endif CFLAGS := $(CFLAGS) $(WARN_FLAGS) $(STD_FLAG) $(OPTI_FLAG) $(DEBUG_FLAG) diff --git a/TP2/exo3/Makefile b/TP2/exo3/Makefile index d6f215e..bcefbf5 100644 --- a/TP2/exo3/Makefile +++ b/TP2/exo3/Makefile @@ -35,7 +35,7 @@ else BUILDDIR := .build/release DEBUG_FLAG = STRIP_FLAG = -s -OPTIFLAG = -O3 +OPTI_FLAG = -O3 endif CFLAGS := $(CFLAGS) $(WARN_FLAGS) $(STD_FLAG) $(OPTI_FLAG) $(DEBUG_FLAG) diff --git a/TP3/Makefile b/TP3/Makefile index 6a950a1..4afebd2 100644 --- a/TP3/Makefile +++ b/TP3/Makefile @@ -35,7 +35,7 @@ else BUILDDIR := .build/release DEBUG_FLAG = STRIP_FLAG = -s -OPTIFLAG = -O3 +OPTI_FLAG = -O3 endif CFLAGS := $(CFLAGS) $(WARN_FLAGS) $(STD_FLAG) $(OPTI_FLAG) $(DEBUG_FLAG) diff --git a/TP4/Makefile b/TP4/Makefile index 61cb8d2..ca73615 100644 --- a/TP4/Makefile +++ b/TP4/Makefile @@ -35,7 +35,7 @@ else BUILDDIR := .build/release DEBUG_FLAG = STRIP_FLAG = -s -OPTIFLAG = -O3 +OPTI_FLAG = -O3 endif CFLAGS := $(CFLAGS) $(WARN_FLAGS) $(STD_FLAG) $(OPTI_FLAG) $(DEBUG_FLAG) diff --git a/TP5/exo1/Makefile b/TP5/exo1/Makefile index 339be0c..44419ed 100644 --- a/TP5/exo1/Makefile +++ b/TP5/exo1/Makefile @@ -35,7 +35,7 @@ else BUILDDIR := .build/release DEBUG_FLAG = STRIP_FLAG = -s -OPTIFLAG = -O3 +OPTI_FLAG = -O3 endif CFLAGS := $(CFLAGS) $(WARN_FLAGS) $(STD_FLAG) $(OPTI_FLAG) $(DEBUG_FLAG) diff --git a/TP5/exo2/Makefile b/TP5/exo2/Makefile index 06b81e5..06c1d20 100644 --- a/TP5/exo2/Makefile +++ b/TP5/exo2/Makefile @@ -35,7 +35,7 @@ else BUILDDIR := .build/release DEBUG_FLAG = STRIP_FLAG = -s -OPTIFLAG = -O3 +OPTI_FLAG = -O3 endif CFLAGS := $(CFLAGS) $(WARN_FLAGS) $(STD_FLAG) $(OPTI_FLAG) $(DEBUG_FLAG) diff --git a/TP5/exo3/Makefile b/TP5/exo3/Makefile index 71cfe81..0b51fdf 100644 --- a/TP5/exo3/Makefile +++ b/TP5/exo3/Makefile @@ -35,7 +35,7 @@ else BUILDDIR := .build/release DEBUG_FLAG = STRIP_FLAG = -s -OPTIFLAG = -O3 +OPTI_FLAG = -O3 endif CFLAGS := $(CFLAGS) $(WARN_FLAGS) $(STD_FLAG) $(OPTI_FLAG) $(DEBUG_FLAG) diff --git a/TP5/exo4/Makefile b/TP5/exo4/Makefile index b8af8ba..0f7b956 100644 --- a/TP5/exo4/Makefile +++ b/TP5/exo4/Makefile @@ -35,7 +35,7 @@ else BUILDDIR := .build/release DEBUG_FLAG = STRIP_FLAG = -s -OPTIFLAG = -O3 +OPTI_FLAG = -O3 endif CFLAGS := $(CFLAGS) $(WARN_FLAGS) $(STD_FLAG) $(OPTI_FLAG) $(DEBUG_FLAG) diff --git a/TP5/exo4/liste_chainee.c b/TP5/exo4/liste_chainee.c index 746241b..add8b22 100644 --- a/TP5/exo4/liste_chainee.c +++ b/TP5/exo4/liste_chainee.c @@ -175,6 +175,11 @@ Liste inverser_rec(Liste L) /* ... */ } +void liberer_iter(Liste L) +{ + +} + void liberer_rec(Liste L) { if (!L) { diff --git a/TP5/exo5/Makefile b/TP5/exo5/Makefile index ec1c41a..d0a371b 100644 --- a/TP5/exo5/Makefile +++ b/TP5/exo5/Makefile @@ -35,7 +35,7 @@ else BUILDDIR := .build/release DEBUG_FLAG = STRIP_FLAG = -s -OPTIFLAG = -O3 +OPTI_FLAG = -O3 endif CFLAGS := $(CFLAGS) $(WARN_FLAGS) $(STD_FLAG) $(OPTI_FLAG) $(DEBUG_FLAG) diff --git a/TP5/exo6/Makefile b/TP5/exo6/Makefile index 959f919..2475256 100644 --- a/TP5/exo6/Makefile +++ b/TP5/exo6/Makefile @@ -35,7 +35,7 @@ else BUILDDIR := .build/release DEBUG_FLAG = STRIP_FLAG = -s -OPTIFLAG = -O3 +OPTI_FLAG = -O3 endif CFLAGS := $(CFLAGS) $(WARN_FLAGS) $(STD_FLAG) $(OPTI_FLAG) $(DEBUG_FLAG) diff --git a/exo_skel/Makefile b/exo_skel/Makefile index 1230bb2..8adb5d0 100644 --- a/exo_skel/Makefile +++ b/exo_skel/Makefile @@ -35,7 +35,7 @@ else BUILDDIR := .build/release DEBUG_FLAG = STRIP_FLAG = -s -OPTIFLAG = -O3 +OPTI_FLAG = -O3 endif CFLAGS := $(CFLAGS) $(WARN_FLAGS) $(STD_FLAG) $(OPTI_FLAG) $(DEBUG_FLAG)