clean makefile compilation flags

This commit is contained in:
hugogogo
2022-07-01 12:07:36 +02:00
parent 6e230109db
commit e27bf01db4

View File

@@ -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)