makefile without special rules for deps
This commit is contained in:
5
Makefile
5
Makefile
@@ -62,7 +62,6 @@ D_SRCS = ./tests
|
|||||||
#SRCS = main_stack_1.cpp
|
#SRCS = main_stack_1.cpp
|
||||||
SRCS = main.cpp \
|
SRCS = main.cpp \
|
||||||
tests_definitions.cpp \
|
tests_definitions.cpp \
|
||||||
\
|
|
||||||
tests_vector.cpp \
|
tests_vector.cpp \
|
||||||
tests_map.cpp \
|
tests_map.cpp \
|
||||||
tests_stack.cpp
|
tests_stack.cpp
|
||||||
@@ -73,7 +72,7 @@ D_OBJS_STL = builds_stl
|
|||||||
OBJS_STL = $(SRCS:%.$(EXT)=$(D_OBJS_STL)/%.o)
|
OBJS_STL = $(SRCS:%.$(EXT)=$(D_OBJS_STL)/%.o)
|
||||||
|
|
||||||
OBJS = $(OBJS_FT) $(OBJS_STL)
|
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
|
# header dependencie
|
||||||
# https://spin.atomicobject.com/2016/08/26/makefile-c-projects
|
# 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
|
# https://stackoverflow.com/questions/13432127/how-to-use-the-include-directive-in-a-makefile-for-a-specific-target
|
||||||
-include $(DEPS)
|
#-include $(DEPS)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user