fixes to use parallel make when running the examples and test-suite

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2007-07-24 21:26:54 +00:00
commit e4bade15f3
22 changed files with 187 additions and 154 deletions

View file

@ -67,18 +67,18 @@ LIBS = -L.
# Rules for the different types of tests
%.cpptest:
$(setup) \
($(swig_and_compile_cpp); ) &&\
$(setup)
+$(swig_and_compile_cpp)
$(run_testcase)
%.ctest:
$(setup) \
($(swig_and_compile_c); ) &&\
$(setup)
+$(swig_and_compile_c)
$(run_testcase)
%.multicpptest:
$(setup) \
($(swig_and_compile_multi_cpp); ) &&\
$(setup)
+$(swig_and_compile_multi_cpp)
$(run_testcase)
# Runs the testcase. A testcase is only run if
@ -112,7 +112,7 @@ cvsignore:
hugemod:
perl hugemod.pl
make hugemod_a.cpptest
make hugemod_b.cpptest
$(MAKE) hugemod_a.cpptest
$(MAKE) hugemod_b.cpptest
time $(PYTHON) hugemod_runme.py
time $(PYTHON) hugemod_runme.py