makefile without special rules for deps

This commit is contained in:
Hugo LAMY
2022-07-05 15:06:57 +02:00
parent 581458ca37
commit 56c42a66b6

View File

@@ -62,7 +62,6 @@ D_SRCS = ./tests
#SRCS = main_stack_1.cpp
SRCS = main.cpp \
tests_definitions.cpp \
\
tests_vector.cpp \
tests_map.cpp \
tests_stack.cpp
@@ -73,7 +72,7 @@ D_OBJS_STL = builds_stl
OBJS_STL = $(SRCS:%.$(EXT)=$(D_OBJS_STL)/%.o)
OBJS = $(OBJS_FT) $(OBJS_STL)
DEPS = $(OBJS:.o=.d) #see end-page note on header dependencie
#DEPS = $(OBJS:.o=.d) #see end-page note on header dependencie
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
@@ -122,5 +121,5 @@ 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)
#-include $(DEPS)