From: Wolfgang Bangerth Date: Thu, 5 Nov 2009 22:33:11 +0000 (+0000) Subject: Make sure we link with each object file only once. X-Git-Tag: v8.0.0~6847 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0467f7dce2f36c4545b4ced026800be428c1644b;p=dealii.git Make sure we link with each object file only once. git-svn-id: https://svn.dealii.org/trunk@20050 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/Makefile b/deal.II/deal.II/Makefile index 9a0aadb9b6..bc73a5b846 100644 --- a/deal.II/deal.II/Makefile +++ b/deal.II/deal.II/Makefile @@ -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)