aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-23 21:07:08 +0100
committerEugene Sandulenko2017-01-23 21:07:08 +0100
commit595770368c99d433d9d5729580a5cce5338f9af5 (patch)
tree32943b1c4681f500a6a3561d72c4ce0935dbbbaf
parent320ed53f31daaf1429da5db8529f72e0809a1048 (diff)
downloadscummvm-rg350-595770368c99d433d9d5729580a5cce5338f9af5.tar.gz
scummvm-rg350-595770368c99d433d9d5729580a5cce5338f9af5.tar.bz2
scummvm-rg350-595770368c99d433d9d5729580a5cce5338f9af5.zip
TESTS: Attempt to fix Makefile for NDS build
-rw-r--r--test/module.mk4
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