From e27bf01db4b0a0fa8b14e0e42af4fb72c286408b Mon Sep 17 00:00:00 2001 From: hugogogo Date: Fri, 1 Jul 2022 12:07:36 +0200 Subject: [PATCH] clean makefile compilation flags --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5086b34..d4b1cbb 100644 --- a/Makefile +++ b/Makefile @@ -34,13 +34,13 @@ NAME = containers NAME_FT = containers_ft NAME_STL = containers_stl -CC = clang++ +CC = c++ EXT = cpp CFLAGS = -Wall -Wextra -Werror $(INCLUDES) -CFLAGS += -MMD -MP #see end-page note on header dependencie -CFLAGS += -std=c++98 -CFLAGS += -g3 +#CFLAGS += -MMD -MP #see end-page note on header dependencie +#CFLAGS += -std=c++98 +#CFLAGS += -g3 CFLAGS_STL = $(CFLAGS) CFLAGS_STL += -D STL @@ -121,5 +121,6 @@ re: fclean all # header dependencie # https://spin.atomicobject.com/2016/08/26/makefile-c-projects +# https://stackoverflow.com/questions/13432127/how-to-use-the-include-directive-in-a-makefile-for-a-specific-target -include $(DEPS)