Skip to content

Commit 33fcbbd

Browse files
fix Makefile build include file dependency tracking
Minor mistake that meant that make builds were completely ignoring includes as dependencies, which is no good during development. (Clean builds were not affected since for a clean build the include deps are irrelevant)
1 parent 599a949 commit 33fcbbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ PLAIN_TEST_BINS := $(basename $(notdir $(PLAIN_TEST_SRC)))
165165
GTEST_TEST_BINS := $(basename $(notdir $(GTEST_TEST_SRC)))
166166
ALL_TEST_BINS := $(PLAIN_TEST_BINS) $(GTEST_TEST_BINS)
167167

168-
DEPS_FILES := $(addprefix .makebuild/,$(addsuffix .d,$(LIB_SRC) $(LIB_CPP_SRC) $(BINS_SRC) $(TEST_SRC)))
168+
DEPS_FILES := $(addprefix .makebuild/,$(addsuffix .o.d,$(LIB_SRC) $(LIB_CPP_SRC) $(BINS_SRC) $(TEST_SRC)))
169169
# Intermediate build output directories.
170170
BUILD_DIRS := $(sort $(dir $(DEPS_FILES)) .makebuild/stdlib/)
171171

0 commit comments

Comments
 (0)