From 23e557396cd48f0d146f806118ecc6c2148693c1 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 25 Jul 2002 08:59:45 +0000 Subject: [PATCH] Backport many fixes. git-svn-id: https://svn.dealii.org/trunk@6275 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/development/Makefile.small | 31 +++++++++----------------- 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/deal.II/doc/development/Makefile.small b/deal.II/doc/development/Makefile.small index ef55e92397..9467961ec0 100644 --- a/deal.II/doc/development/Makefile.small +++ b/deal.II/doc/development/Makefile.small @@ -66,17 +66,15 @@ libs.o = $(lib-deal2-2d.o) \ # We now use the variable defined above which switch between debug and -# optimized mode to select the correct compiler flags and the set of -# libraries to link with. Included 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 .go for object files -# compiled in debug mode and .o for object files in optimized mode. +# optimized mode to select the set of libraries to link with. Included +# 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 .go for object files compiled in debug mode and .o for +# object files in optimized mode. ifeq ($(debug-mode),on) - libraries = $(target).go $(libs.g) - flags = $(CXXFLAGS.g) + libraries = $(target).g.o $(libs.g) else libraries = $(target).o $(libs.o) - flags = $(CXXFLAGS.o) endif @@ -114,10 +112,10 @@ clean: # compiler are usually not of much interest, we suppress the actual # command line using the `at' sign in the first column of the rules # and write the string indicating what we do instead. -%.go : %.cc +./%.g.o : @echo ==============debug========= $( Makefile.dep # To make the dependencies known to `make', we finally have to include -- 2.39.5