]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make the various Makefile.dep files dependent only on what they really need.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Oct 2010 23:26:38 +0000 (23:26 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Oct 2010 23:26:38 +0000 (23:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@22483 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/Makefile

index e773ab5475e4b251fe82b38815d12b98f44231b8..a2b82549cb61361181b25d524dfa3d17c870dea7 100644 (file)
@@ -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

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.