]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Link examples with libbase.g.a.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 13 Dec 1998 21:05:04 +0000 (21:05 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 13 Dec 1998 21:05:04 +0000 (21:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@707 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/Makefile

index dd786abb1b1601ea3db87e4aee7d0e8818693423..778f34a15ca562385c5f9891d84124a00c9bde8d 100644 (file)
@@ -13,6 +13,7 @@ CXXFLAGS  = -DDEBUG -g -Wall -W -pedantic -Wconversion \
             -Winline -Woverloaded-virtual -fno-rtti  \
             $(INCLUDE) -Ddeal_II_dimension=$(deal_II_dimension)
 
+
 %.go : %.cc
        @echo ============================ Compiling with debugging information:   $<
        @$(CXX) $(CXXFLAGS) -c $< -o $@
@@ -34,19 +35,19 @@ test: run-reference run-logtest run-tensor
 
 
 reference: reference.go
-       $(CXX) -o $@ $^
+       $(CXX) $(CXXFLAGS) -o $@ $^ $D/base/lib/libbase.g.a
 
 run-reference: reference
        ./reference
 
 logtest: logtest.go
-       $(CXX) -o $@ $^ $D/base/lib/libbase.g.a
+       $(CXX) $(CXXFLAGS) -o $@ $^ $D/base/lib/libbase.g.a
 
 run-logtest: logtest
        ./logtest
 
 tensor: tensor.go
-       $(CXX) -o $@ $^
+       $(CXX) $(CXXFLAGS) -o $@ $^ $D/base/lib/libbase.g.a
 
 run-tensor: tensor
        ./tensor

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.