From: wolf Date: Tue, 2 Feb 1999 13:19:17 +0000 (+0000) Subject: Make the dependency file dimension dependent as well. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d6e26b1d0d5485f8b4862dc9563c0bb9cf79a69;p=dealii-svn.git Make the dependency file dimension dependent as well. git-svn-id: https://svn.dealii.org/trunk@746 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/Makefile b/deal.II/deal.II/source/Makefile index 27ea226342..ed77082e5c 100644 --- a/deal.II/deal.II/source/Makefile +++ b/deal.II/deal.II/source/Makefile @@ -96,7 +96,7 @@ clean: #programs which use the 2d *and* the 3d library; #if the files within these libraries had the same names, #we may get into trouble. -../lib/Makefile.dep: $(cc-files) $(h-files) Makefile ../Make.global_options +../lib/Makefile_$(deal_II_dimension)d.dep: $(cc-files) $(h-files) Makefile ../Make.global_options @echo ============================ Remaking Makefile @echo "# This Makefile was automatically generated by ../source/Makefile" \ > ../lib/Makefile.dep @@ -105,7 +105,7 @@ clean: | perl -p -e 's!^.*\(.*/(.*)\):!../lib/$(deal_II_dimension)d/$$1:!g;' \ | perl -pe 's!(/[^/]+\.(o|go)):!/$$2$$1:!g;' \ | perl -pe 's!(\.g?o)!_$(deal_II_dimension)d$$1!g;' \ - >> ../lib/Makefile.dep + >> ../lib/Makefile_$(deal_II_dimension)d.dep -include ../lib/Makefile.dep +include ../lib/Makefile_$(deal_II_dimension)d.dep