]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make this Makefile MT aware.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 2 Feb 2000 11:37:12 +0000 (11:37 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 2 Feb 2000 11:37:12 +0000 (11:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@2318 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/Makefile
tests/lac/Makefile

index ccbb50b68344f3b86c1d18e2242597b810b568a8..e033fc3601e372777d2a19ea3534fba257354492 100644 (file)
@@ -43,6 +43,14 @@ libraries = $(libs)
 flags     = $(CXXFLAGS.o) $(CXXFLAGS)
 endif
 
+
+# If in multithread mode, add the ACE library to the libraries which
+# we need to link with:
+ifneq ($(with-multithreading),no)
+  libraries += $(lib-ACE)
+endif
+
+
 %.go : %.cc Makefile
        @echo =====debug========= $<
        @$(CXX) $(flags) -c $< -o $@
index b5ff9fffcf0847fe389a9afc03326b18255e652b..f4fd42d2298ab8e159faf89128bc07607dbe6c9b 100644 (file)
@@ -43,6 +43,14 @@ libraries = $(libs)
 flags     = $(CXXFLAGS.o) $(CXXFLAGS)
 endif
 
+# If in multithread mode, add the ACE library to the libraries which
+# we need to link with:
+ifneq ($(with-multithreading),no)
+  libraries += $(lib-ACE)
+endif
+
+
+
 %.go : %.cc Makefile
        @echo =====debug========= $<
        @$(CXX) $(flags) -c $< -o $@

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.