From: bangerth Date: Mon, 25 Oct 2010 23:26:38 +0000 (+0000) Subject: Make the various Makefile.dep files dependent only on what they really need. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd67371dd57a1e264d85c87f89a241c38870592b;p=dealii-svn.git Make the various Makefile.dep files dependent only on what they really need. git-svn-id: https://svn.dealii.org/trunk@22483 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/Makefile b/deal.II/source/Makefile index e773ab5475..a2b82549cb 100644 --- a/deal.II/source/Makefile +++ b/deal.II/source/Makefile @@ -198,7 +198,9 @@ $(LIBDIR)/libdeal_II$(shared-lib-suffix): $(o-files) # to remake this file upon inclusion below. # # If the command fails, then remove Makefile.dep again and fail -%/Makefile.dep: $(dim-indep-cc-files) $(dim-dep-cc-files) $(h-files) \ +%/Makefile.dep: $(filter $D/source/$(dir $@)%, $(dim-indep-cc-files)) \ + $(filter $D/source/$(dir $@)%, $(dim-dep-cc-files)) \ + $(h-files) \ $(inst-files) \ ../include/deal.II/lac/lapack_templates.h \ Makefile $D/common/Make.global_options