Skip to content

Commit 784eb80

Browse files
committed
Re-allow direct building of .o files with filter-out
1 parent 64dadab commit 784eb80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

make/tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test/%$(EXE) : test/%.o $(GTEST)/src/gtest_main.cc $(GTEST)/src/gtest-all.o $(MP
3434
##
3535
ifneq ($(filter test/%,$(MAKECMDGOALS)),)
3636
-include $(patsubst %$(EXE),%.d,$(filter test/%,$(MAKECMDGOALS)))
37-
.INTERMEDIATE: $(patsubst %$(EXE),%.o,$(filter test/%,$(MAKECMDGOALS)))
37+
.INTERMEDIATE: $(patsubst %$(EXE),%.o,$(filter-out test/%.o,$(filter test/%,$(MAKECMDGOALS))))
3838
endif
3939

4040
##

0 commit comments

Comments
 (0)