clean makefile compilation flags
This commit is contained in:
9
Makefile
9
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user