]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make the dependency file dimension dependent as well.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 2 Feb 1999 13:19:17 +0000 (13:19 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 2 Feb 1999 13:19:17 +0000 (13:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@746 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/Makefile

index 27ea22634224266188efbb33febe52340d324bfb..ed77082e5c219844072ee26b68c88bc5e401eb61 100644 (file)
@@ -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

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.