We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c3441b + 9ef7c16 commit 0b91aa8Copy full SHA for 0b91aa8
1 file changed
make/tests
@@ -29,9 +29,12 @@ test/%$(EXE) : test/%.o $(GTEST)/src/gtest_main.cc $(GTEST)/src/gtest-all.o $(MP
29
30
##
31
# Include dependency files for tests
32
+# This has the side-effect of making the object files non-intermediates,
33
+# so we need to explicitly tell make we don't want to keep them
34
35
ifneq ($(filter test/%,$(MAKECMDGOALS)),)
36
-include $(patsubst %$(EXE),%.d,$(filter test/%,$(MAKECMDGOALS)))
37
+.INTERMEDIATE: $(patsubst test/%_test$(EXE),test/%_test.o,$(filter test/%_test$(EXE),$(MAKECMDGOALS)))
38
endif
39
40
0 commit comments