From 09407527466209b25c9ef8aacfa1f39273f16f5f Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 4 Aug 1999 15:24:43 +0000 Subject: [PATCH] Remove the Make.global_options file from the deal.II directory and use the similar one in /common. Update the latter. git-svn-id: https://svn.dealii.org/trunk@1625 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/base/Makefile | 8 ++++++++ tests/deal.II/Makefile | 9 ++++++++- tests/fe/Makefile | 8 ++++++++ tests/lac/Makefile | 9 +++++++++ 4 files changed, 33 insertions(+), 1 deletion(-) diff --git a/tests/base/Makefile b/tests/base/Makefile index bc91412488..cc9734688e 100644 --- a/tests/base/Makefile +++ b/tests/base/Makefile @@ -41,6 +41,14 @@ libraries = $(libs) flags = $(CXXFLAGS.o) $(CXXFLAGS) endif +%.go : %.cc Makefile + @echo =====debug========= $< + @$(CXX) $(flags) -c $< -o $@ +%.o : %.cc Makefile + @echo =====optimized===== $< + @$(CXX) $(flags) -c $< -o $@ + + all: logtest.check reference.check tensor.check exe: $(all:.check=.testcase) output: $(all:.check=.output) diff --git a/tests/deal.II/Makefile b/tests/deal.II/Makefile index 482feabf0a..e5fe22acef 100644 --- a/tests/deal.II/Makefile +++ b/tests/deal.II/Makefile @@ -9,7 +9,7 @@ debug-mode = on D = ../.. -include ../../deal.II/Make.global_options +include ../../common/Make.global_options @@ -40,6 +40,13 @@ flags = $(CXXFLAGS) -L$D/deal.II/lib lib-tag = "deal_II_libraries=" endif +%.go : %.cc Makefile + @echo =====debug========= $< + @$(CXX) $(flags) -c $< -o $@ +%.o : %.cc Makefile + @echo =====optimized===== $< + @$(CXX) $(flags) -c $< -o $@ + # rule to make executables diff --git a/tests/fe/Makefile b/tests/fe/Makefile index 374e9f1678..de01ab13ee 100644 --- a/tests/fe/Makefile +++ b/tests/fe/Makefile @@ -41,6 +41,14 @@ libraries = $(libs) flags = $(CXXFLAGS.o) $(CXXFLAGS) endif +%.go : %.cc Makefile + @echo =====debug========= $< + @$(CXX) $(flags) -c $< -o $@ +%.o : %.cc Makefile + @echo =====optimized===== $< + @$(CXX) $(flags) -c $< -o $@ + + all: check ############################################################ diff --git a/tests/lac/Makefile b/tests/lac/Makefile index 561a86e769..baa8642d9d 100644 --- a/tests/lac/Makefile +++ b/tests/lac/Makefile @@ -41,6 +41,15 @@ libraries = $(libs) flags = $(CXXFLAGS.o) $(CXXFLAGS) endif + +%.go : %.cc Makefile + @echo =====debug========= $< + @$(CXX) $(flags) -c $< -o $@ +%.o : %.cc Makefile + @echo =====optimized===== $< + @$(CXX) $(flags) -c $< -o $@ + + all: solver.check mgbase.check mg.check exe: $(all:.check=.testcase) benchmark run: $(all:.check=.output) -- 2.39.5