]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bring Makefiles up to date.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 28 Oct 2010 15:00:43 +0000 (15:00 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 28 Oct 2010 15:00:43 +0000 (15:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@22535 0785d39b-7218-0410-832d-ea1e28bc413d

41 files changed:
deal.II/examples/step-1/Makefile
deal.II/examples/step-10/Makefile
deal.II/examples/step-11/Makefile
deal.II/examples/step-12/Makefile
deal.II/examples/step-13/Makefile
deal.II/examples/step-14/Makefile
deal.II/examples/step-15/Makefile
deal.II/examples/step-16/Makefile
deal.II/examples/step-17/Makefile
deal.II/examples/step-18/Makefile
deal.II/examples/step-19/Makefile
deal.II/examples/step-2/Makefile
deal.II/examples/step-20/Makefile
deal.II/examples/step-21/Makefile
deal.II/examples/step-22/Makefile
deal.II/examples/step-23/Makefile
deal.II/examples/step-24/Makefile
deal.II/examples/step-25/Makefile
deal.II/examples/step-26/Makefile
deal.II/examples/step-27/Makefile
deal.II/examples/step-28/Makefile
deal.II/examples/step-29/Makefile
deal.II/examples/step-3/Makefile
deal.II/examples/step-30/Makefile
deal.II/examples/step-31/Makefile
deal.II/examples/step-32/Makefile
deal.II/examples/step-33/Makefile
deal.II/examples/step-34/Makefile
deal.II/examples/step-35/Makefile
deal.II/examples/step-36/Makefile
deal.II/examples/step-37/Makefile
deal.II/examples/step-39/Makefile
deal.II/examples/step-4/Makefile
deal.II/examples/step-40/Makefile
deal.II/examples/step-42/Makefile
deal.II/examples/step-45/Makefile
deal.II/examples/step-5/Makefile
deal.II/examples/step-6/Makefile
deal.II/examples/step-7/Makefile
deal.II/examples/step-8/Makefile
deal.II/examples/step-9/Makefile

index 242b6f8a4c6145b70b3dfd49148a07557ff41aba..486944be22c72b2a3818e2a5888ab59eab25d924 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F) $@
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index c417c88cdfb79e76707508c6dba3e2b9ac5c4748..a54a5f9b86c85ae382c519b4b8e769e9da863360 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 173e1f02e6d12a6ee4fbcb22391338f6036454a9..59c988d068ed494245e3f67cf8422368f22ccb04 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 173e1f02e6d12a6ee4fbcb22391338f6036454a9..59c988d068ed494245e3f67cf8422368f22ccb04 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 173e1f02e6d12a6ee4fbcb22391338f6036454a9..59c988d068ed494245e3f67cf8422368f22ccb04 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 173e1f02e6d12a6ee4fbcb22391338f6036454a9..59c988d068ed494245e3f67cf8422368f22ccb04 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 879b8bc2f7d10b17f0d64f9e881e1fa6706fc5b8..ff79b7915d968c744ace04905e5fc3a4be8f2a70 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 1d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index f80932a3fe3ee1a430ff4dc8eb903c07d44307fa..4d9e4cd1a0e19c53896225c87875689a8f2df36c 100644 (file)
@@ -47,17 +47,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -65,8 +59,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -78,9 +72,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -89,7 +83,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -112,7 +106,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -141,7 +135,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index b69e8849c8449bd06b30dd19011091c884ff1630..efabcd42e82fb2a365ceea3e29e8a44737decb37 100644 (file)
@@ -80,17 +80,11 @@ else
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -98,8 +92,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -111,9 +105,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -122,7 +116,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -145,7 +139,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -174,7 +168,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index f677ce908817c0e9afc6dea3d12405f15186ec30..2b45a3cfb98d51c1224b2442c0c020dae77e88f3 100644 (file)
@@ -45,7 +45,7 @@ clean-up-files = *gmv *gnuplot *gpl *eps *pov *d2
 # settings
 include $D/common/Make.global_options
 
-################################################################ 
+################################################################
 # This example program will only work if PETSc is installed. If this
 # is not the case, then simply redefine the main targets to do nothing
 #
@@ -55,7 +55,7 @@ ifneq ($(USE_CONTRIB_PETSC)$(enable-threads),yesno)
   ifneq ($(USE_CONTRIB_PETSC),yes)
 default run clean:
        @echo
-       @echo "===========================================================" 
+       @echo "==========================================================="
        @echo "=   This program cannot be compiled without PETSc. Make   ="
        @echo "=   sure you have PETSc installed and detected during     ="
        @echo "=   configuration of deal.II                              ="
@@ -64,7 +64,7 @@ default run clean:
   else
 default run clean:
        @echo
-       @echo "===========================================================" 
+       @echo "==========================================================="
        @echo "=   PETSc can not be used when running programs on        ="
        @echo "=   multiple threads. Make sure you have specified the    ="
        @echo "=   --disable-threads flag upon configuration of deal.II  ="
@@ -80,17 +80,11 @@ else
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 3d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -98,8 +92,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -111,9 +105,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -122,7 +116,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -145,7 +139,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -174,7 +168,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 173e1f02e6d12a6ee4fbcb22391338f6036454a9..59c988d068ed494245e3f67cf8422368f22ccb04 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index dd5f4d43c1e325ea95232bb37be6025fd62500a4..030d9f8570b7ca9ea5168399111cc0e49b70f384 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 173e1f02e6d12a6ee4fbcb22391338f6036454a9..59c988d068ed494245e3f67cf8422368f22ccb04 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 1c7df30f7bc7c07cbba750095c0007ce7143ded3..a5ff390828033b6278e0e189c8d96a66d3149f51 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 1c7df30f7bc7c07cbba750095c0007ce7143ded3..a5ff390828033b6278e0e189c8d96a66d3149f51 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 2d50786bc9b08c5d53bfa472b8e6e727f495cb48..6f046623171e770d7c57a92650ec6cec3d70876c 100644 (file)
@@ -49,17 +49,11 @@ include $D/common/Make.global_options
 ################################################################
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -67,8 +61,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -80,9 +74,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -91,7 +85,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -114,7 +108,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -143,7 +137,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 2d50786bc9b08c5d53bfa472b8e6e727f495cb48..6f046623171e770d7c57a92650ec6cec3d70876c 100644 (file)
@@ -49,17 +49,11 @@ include $D/common/Make.global_options
 ################################################################
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -67,8 +61,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -80,9 +74,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -91,7 +85,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -114,7 +108,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -143,7 +137,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index f5b15fa0c8fe32fbc9adb9c71d634d40c0784854..4da23a361ccfbd1dcd0f3b7ea897f1534fa645f2 100644 (file)
@@ -49,17 +49,11 @@ include $D/common/Make.global_options
 ################################################################
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -67,8 +61,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -80,9 +74,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -91,7 +85,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -114,7 +108,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -143,7 +137,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 3bfb8e18666805ade4e3c21258865701686ec7d2..1a2995af344403db86a65c398b460a7d4bb6eaa7 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index af1fc1197f5c4b525f225f9f499fbf921aa856be..7ea9c75ede44f9c5eb8c4d2c513c05b5ac6639ae 100644 (file)
@@ -49,17 +49,11 @@ include $D/common/Make.global_options
 ################################################################
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -67,8 +61,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -80,9 +74,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -91,7 +85,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -114,7 +108,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -143,7 +137,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 7f95d0bbeb08852426ecf86567b4a1c40fea75dd..5bc46cd7055a67ad66d0638df4f664ab4f9820ab 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 7ce82fc09299f9e1a9c51aedfe59c08a44a76f56..958d00ef0b194cf29b255271a328a6b8f0033f94 100644 (file)
@@ -49,17 +49,11 @@ include $D/common/Make.global_options
 ################################################################
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -67,8 +61,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -80,9 +74,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -91,7 +85,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -114,7 +108,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -143,7 +137,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 173e1f02e6d12a6ee4fbcb22391338f6036454a9..59c988d068ed494245e3f67cf8422368f22ccb04 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 173e1f02e6d12a6ee4fbcb22391338f6036454a9..59c988d068ed494245e3f67cf8422368f22ccb04 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index c9208e3922b8e7efc0f1cf64789cc3d9b40a04dc..a0ca07dd7cf7f9569f97bf3cd3b5510d2ee30d71 100644 (file)
@@ -67,17 +67,11 @@ else
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -85,8 +79,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -98,9 +92,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -109,7 +103,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -133,7 +127,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -163,7 +157,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 45c72490b2b5e8875583ffe3fa6114e283477e25..0a1e843c07fded81b9dde9141d157f9f157ef122 100644 (file)
@@ -67,17 +67,11 @@ else
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -85,8 +79,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -98,9 +92,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -109,7 +103,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -133,7 +127,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -163,7 +157,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 4827074bcdd28d2c5de23e2c0258b55f010f4e67..7f21cdc7fc9309e569f2aa972e22fd77f26c373b 100644 (file)
@@ -74,17 +74,11 @@ else
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -92,8 +86,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -105,9 +99,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -116,7 +110,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT) $(run-parameters)
 
@@ -139,7 +133,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -168,7 +162,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 41023930ff41b3797dd075e0d44f3696d9225b65..2fa0b3001c085d42f85c08cc0eacfc59ace1322c 100644 (file)
@@ -49,17 +49,11 @@ include $D/common/Make.global_options
 ################################################################
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -67,8 +61,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -80,9 +74,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -91,7 +85,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -114,7 +108,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -143,7 +137,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 6e7f2449a63daa1c71bb75c05bfb446f946d5124..4860d54eb759a35bfaae8f83efd2a88695640f9e 100755 (executable)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 63f0193b4fe88fd7ccb7bfdf1cd745c5dcfce31b..f67c75f12f48c5924601c9d22f4b4844f5b04f4f 100644 (file)
@@ -77,17 +77,11 @@ else
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -95,8 +89,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -108,9 +102,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -119,7 +113,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -142,7 +136,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -171,7 +165,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 0f7cb610f9e5c35e81dde4b3929a97a3f0001947..443e8f6149ac24376783e6197d91e7cefbe56985 100644 (file)
@@ -49,17 +49,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -67,8 +61,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -80,9 +74,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -91,7 +85,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -114,7 +108,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -143,7 +137,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index fd7bac01f25fdf58baf29b3560f04e5863269700..b66d81e0da848e2afa3f19c141896edf45c932e6 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
        @echo ============================ Postprocessing to step-39.dat
@@ -114,7 +108,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -143,7 +137,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 173e1f02e6d12a6ee4fbcb22391338f6036454a9..59c988d068ed494245e3f67cf8422368f22ccb04 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 0264266a9089e9f084f1755662c5283ab7add285..d51b3d772191bc59d5c1e551117ec878961173af 100644 (file)
@@ -81,17 +81,11 @@ else
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -99,8 +93,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -112,9 +106,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -123,7 +117,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -147,7 +141,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -177,7 +171,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 1c7df30f7bc7c07cbba750095c0007ce7143ded3..a5ff390828033b6278e0e189c8d96a66d3149f51 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index cfd76a00860cc9e35991f42ada760a5d47fa12a8..2fb0539b723b36c542739c003ac7f1fe046f779a 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 173e1f02e6d12a6ee4fbcb22391338f6036454a9..59c988d068ed494245e3f67cf8422368f22ccb04 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 173e1f02e6d12a6ee4fbcb22391338f6036454a9..59c988d068ed494245e3f67cf8422368f22ccb04 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index f3e181e7b91d60d1f0a76f08a9bc0199df068672..a12001cf4cd01347b91668d38f2eff00b840fb15 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 173e1f02e6d12a6ee4fbcb22391338f6036454a9..59c988d068ed494245e3f67cf8422368f22ccb04 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include Makefile.dep
index 173e1f02e6d12a6ee4fbcb22391338f6036454a9..59c988d068ed494245e3f67cf8422368f22ccb04 100644 (file)
@@ -48,17 +48,11 @@ include $D/common/Make.global_options
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
-# libraries which we want to link to the object file, and there need
-# to be two sets of libraries: one for the debug mode version of the
-# application and one for the optimized mode. Here we have selected
-# the versions for 2d. Note that the order in which the libraries are
-# given here is important and that your applications won't link
-# properly if they are given in another order.
-#
-# You may need to augment the lists of libraries when compiling your
-# program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2.g)
-libs.o   = $(lib-deal2.o)
+# libraries which we want to link to the object file. deal.II has two
+# libraries: one for the debug mode version of the
+# application and one for optimized mode.
+libs.g   := $(lib-deal2.g)
+libs.o   := $(lib-deal2.o)
 
 
 # We now use the variable defined above which switch between debug and
@@ -66,8 +60,8 @@ libs.o   = $(lib-deal2.o)
 # in the list of libraries is the name of the object file which we
 # will produce from the single C++ file. Note that by default we use
 # the extension .g.o for object files compiled in debug mode and .o for
-# object files in optimized mode (or whatever the local default on your
-# system is instead of .o).
+# object files in optimized mode (or whatever local default on your
+# system is instead of .o)
 ifeq ($(debug-mode),on)
   libraries = $(target).g.$(OBJEXT) $(libs.g)
 else
@@ -79,9 +73,9 @@ endif
 # file produced from the single C++ file into the executable. Since
 # this is the first rule in the Makefile, it is the one `make' selects
 # if you call it without arguments.
-$(target) : $(libraries)
+$(target)$(EXEEXT) : $(libraries)
        @echo ============================ Linking $@
-       @$(CXX) -o $@$(EXEEXT) $^ $(LIBS) $(LDFLAGS)
+       @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 
 # To make running the application somewhat independent of the actual
@@ -90,7 +84,7 @@ $(target) : $(libraries)
 # useful if you want to call the executable with arguments which do
 # not change frequently. You may then want to add them to the
 # following rule:
-run: $(target)
+run: $(target)$(EXEEXT)
        @echo ============================ Running $<
        @./$(target)$(EXEEXT)
 
@@ -113,7 +107,7 @@ clean:
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
 ./%.$(OBJEXT) :
-       @echo ==============optimized===== $(<F)
+       @echo ==============optimized===== $(<F) $@
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
@@ -142,7 +136,6 @@ Makefile.dep: $(target).cc Makefile \
          || (rm -f $@ ; false)
        @if test -s $@ ; then : else rm $@ ; fi
 
-
 # To make the dependencies known to `make', we finally have to include
 # them:
 include 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.