]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make sure we link with each object file only once.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 5 Nov 2009 22:33:11 +0000 (22:33 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 5 Nov 2009 22:33:11 +0000 (22:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@20050 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Makefile

index 9a0aadb9b630fbda30a4e8e15c99117cf4dfb046..bc73a5b8462677314b73731a24666ef4ac26ab4a 100644 (file)
@@ -26,7 +26,8 @@ debug: 2dg 3dg 1dg
 
 # create lists of file names. compile vectors.cc first because it is
 # one of the files that takes the longest
-cc-files     = source/numerics/vectors.cc $(shell echo source/*/*.cc)
+cc-files     = source/numerics/vectors.cc \
+               $(filter-out source/numerics/vectors.cc, $(shell echo source/*/*.cc))
 h-files      = $(sort $(shell echo include/*/*.h))
 
 inst-in-files= $(shell echo source/*/*.inst.in)

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.