Browse Source

Tests: compiler generated header prerequisites somehow not working

LIB-12
heck 2 years ago
parent
commit
0aa66aa543
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      test/Makefile

+ 8
- 8
test/Makefile View File

@ -13,14 +13,14 @@ SRC_FRAMEWORK=$(wildcard framework/*.cc)
OBJ_FRAMEWORK=$(subst .cc,.o,$(SRC_FRAMEWORK))
# Depends
DEP_TEST=$(subst .cc,.d,$(SRC_TEST))
DEP_FRAMEWORK=$(subst .cc,.d,$(SRC_FRAMEWORK))
DEPENDS+= $(DEP_TEST) $(DEP_FRAMEWORK)
CXXFLAGS+= -MMD -MP
ifneq ($(MAKECMDGOALS),clean)
-include $(DEPENDS)
endif
#DEP_TEST=$(subst .cc,.d,$(SRC_TEST))
#DEP_FRAMEWORK=$(subst .cc,.d,$(SRC_FRAMEWORK))
#DEPENDS+=$(DEP_TEST)$(DEP_FRAMEWORK)
#CXXFLAGS+= -MMD -MP
#
#ifneq ($(MAKECMDGOALS),clean)
# -include $(DEPENDS)
#endif
.PHONY: all clean rmtestdata
.DEFAULT_GOAL := all


Loading…
Cancel
Save