diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/module.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/module.mk b/test/module.mk index 75c96d81ba..9af652d7b5 100644 --- a/test/module.mk +++ b/test/module.mk @@ -43,11 +43,13 @@ endif test: test/runner ./test/runner -test/runner: test/runner.cpp $(TEST_LIBS) +test/runner: test/runner.o $(TEST_LIBS) $(QUIET_LINK)$(LD) $(TEST_CXXFLAGS) $(CPPFLAGS) $(TEST_CFLAGS) -o $@ $+ $(TEST_LDFLAGS) test/runner.cpp: $(TESTS) @mkdir -p test $(srcdir)/test/cxxtest/cxxtestgen.py $(TEST_FLAGS) -o $@ $+ +test/runner.o: test/runner.cpp + $(CXX) $(TEST_CXXFLAGS) $(CPPFLAGS) $(TEST_CFLAGS) -c $(<) -o $@ clean: clean-test |