]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Double libraries fixed
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 17 Feb 2003 12:36:46 +0000 (12:36 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 17 Feb 2003 12:36:46 +0000 (12:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@7121 0785d39b-7218-0410-832d-ea1e28bc413d

tests/Makefile.rules

index a64b9301f0b8a5cc6e44d5a8647c43ac9f1e70a1..e2aaafb56f7b7ce022d552c3ace14908f0b3e456 100644 (file)
@@ -31,9 +31,13 @@ endif
 %.$(OBJEXT) : %.cc Makefile
        @echo =====optimized===== $<
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
+
+######################################################################
+# Don't put $(libraries) into this line since it is already in $^
+######################################################################
 %.exe :
        @echo =====linking======= $@
-       @$(CXX) $(LDFLAGS) -o $@ $^ $(libraries) $(LIBS)
+       @$(CXX) $(LDFLAGS) -o $@ $^ $(LIBS)
 
 
 ############################################################

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.