TP 13 exo1: Add LTO and GOLD support to the Makefile build options
[TD_C.git] / TP_11 / exo2 / Makefile
index d0ec4dd1871f2c52dd228f03e01abd33c43b70dc..d1ca467374630fe66c8f0d5fbb373b2eb028c211 100644 (file)
@@ -3,7 +3,7 @@
 # This Makefile expect all source files (.c) to be at the same level, in the
 # $(SRC_PATH) directory.
 #
-# This Makefile expect all embedded library files (.c) to be at the same level, in the
+# This Makefile expect all embedded library source files (.c) to be at the same level, in the
 # $(LIBRARY_PATH) directory.
 #
 # It will automatically generate dependencies, compile all files, and produce a
@@ -50,7 +50,7 @@ OPTI_FLAG = -O3
 endif
 
 # Putting header files in the source directory is not the purpose of this INCLUDES variable
-INCLUDES := $(INCLUDES) -I$(SRC_PATH) -I$(LIBRARY_PATH)
+INCLUDES := $(INCLUDES) -I$(LIBRARY_PATH)
 CFLAGS := $(CFLAGS) $(WARN_FLAGS) $(STD_FLAG) $(OPTI_FLAG) $(DEBUG_FLAG) $(INCLUDES)
 LIBCFLAGS := -fPIC $(CFLAGS)
 LDFLAGS := $(LDFLAGS) $(STRIP_FLAG)