From 0467f7dce2f36c4545b4ced026800be428c1644b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 5 Nov 2009 22:33:11 +0000 Subject: [PATCH] Make sure we link with each object file only once. git-svn-id: https://svn.dealii.org/trunk@20050 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.5