diff --git a/base/Makefile b/base/Makefile index 2e4082a54..66d4aa2bc 100644 --- a/base/Makefile +++ b/base/Makefile @@ -35,6 +35,6 @@ $(BASE_TARGET): $(BASE_OBJECTS) $(Q) $(RM) $@ $(Q) $(AR) rsv $@ $(BASE_OBJECTS) > /dev/null -ifeq ("$(DEPENDS)","yes") +ifeq ("$(USE_TRACKING)","yes") -include $(BASE_DEPENDS) endif diff --git a/device_mapper/Makefile b/device_mapper/Makefile index ed455e5d9..b1aa53c36 100644 --- a/device_mapper/Makefile +++ b/device_mapper/Makefile @@ -48,6 +48,6 @@ $(DEVICE_MAPPER_TARGET): $(DEVICE_MAPPER_OBJECTS) $(Q) $(RM) $@ $(Q) $(AR) rsv $@ $(DEVICE_MAPPER_OBJECTS) > /dev/null -ifeq ("$(DEPENDS)","yes") +ifeq ("$(USE_TRACKING)","yes") -include $(DEVICE_MAPPER_DEPENDS) endif diff --git a/test/unit/Makefile b/test/unit/Makefile index 7298b4ed0..c8fe65b44 100644 --- a/test/unit/Makefile +++ b/test/unit/Makefile @@ -61,6 +61,6 @@ run-unit-test: $(UNIT_TARGET) cd $$OLDPWD ;\ $(RM) -r "$${TESTDIR:?}" -ifeq ("$(DEPENDS)","yes") --include $(UNIT_SOURCE:%.c=%.d) +ifeq ("$(USE_TRACKING)","yes") +-include $(UNIT_DEPENDS) endif