aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/module.mk10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/module.mk b/test/module.mk
index e630ee8671..b4cc519e86 100644
--- a/test/module.mk
+++ b/test/module.mk
@@ -43,14 +43,8 @@ endif
test: test/runner
./test/runner
-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
- $(QUIET_CXX)$(CXX) $(TEST_CXXFLAGS) $(CPPFLAGS) $(TEST_CFLAGS) -c $(<) -o $@
-
+test/runner: test/runner.cpp $(TEST_LIBS)
+ $(QUIET_CXX)$(CXX) $(TEST_CXXFLAGS) $(CPPFLAGS) $(TEST_CFLAGS) -o $@ $+ $(TEST_LDFLAGS)
clean: clean-test
clean-test: