From: wolf Date: Wed, 2 Feb 2000 11:37:12 +0000 (+0000) Subject: Make this Makefile MT aware. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1909f4c9aec122a59a1be8da37ddda17e9755a6;p=dealii-svn.git Make this Makefile MT aware. git-svn-id: https://svn.dealii.org/trunk@2318 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/Makefile b/tests/base/Makefile index ccbb50b683..e033fc3601 100644 --- a/tests/base/Makefile +++ b/tests/base/Makefile @@ -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 $@ diff --git a/tests/lac/Makefile b/tests/lac/Makefile index b5ff9fffcf..f4fd42d229 100644 --- a/tests/lac/Makefile +++ b/tests/lac/Makefile @@ -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 $@