]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Move towards multidimensional library.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 10 Dec 1998 16:42:24 +0000 (16:42 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 10 Dec 1998 16:42:24 +0000 (16:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@694 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/Makefile

index 9371aafbe5497c91163ff137f8786aa60c93fecc..bf93ecfe4a91f31bf918cd7734973100e9731c96 100644 (file)
@@ -10,6 +10,9 @@
 #I think I have removed any non-supported cross-references, so you
 #should be able to compile with an arbitrary number of processes.
 
+deal_II_dimension=2
+
+
 cc-files = $(wildcard */*.cc)
 h-files  = $(wildcard ../include/*/*.h)
 
@@ -20,12 +23,10 @@ h-files  = $(wildcard ../include/*/*.h)
 # would be the same for both debug and non-debug versions, if we
 # don't care about different directories
 tmp1     = $(notdir $(cc-files))
-o-files  = $(addprefix ../lib/o/,  $(tmp1:.cc=.o) )
-go-files = $(addprefix ../lib/go/, $(tmp1:.cc=.go))
+o-files  = $(addprefix ../lib/$(deal_II_dimension)d/o/,  $(tmp1:.cc=.o) )
+go-files = $(addprefix ../lib/$(deal_II_dimension)d/go/, $(tmp1:.cc=.go))
 
 
-deal_II_dimension=2
-
 CXX       = c++
 INCLUDE   = -I../include -I../../lac/include \
             -I../../base/include -I../../mia/include
@@ -91,7 +92,7 @@ clean:
 ../lib/Makefile.dep: $(cc-files) $(h-files) Makefile ../Make.global_options
        @echo ============================ Remaking Makefile
        @perl ../Make_dep.pl ../lib/libgrid $(INCLUDE) $(cc-files) \
-               | perl -p -e 's!^.*\(.*/(.*)\):!../lib/$$1:!g;' \
+               | perl -p -e 's!^.*\(.*/(.*)\):!../lib/$(deal_II_dimension)d/$$1:!g;' \
                | perl -pe 's!(/[^/]+\.(o|go)):!/$$2$$1:!g;' \
                > ../lib/Makefile.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.