From: bangerth Date: Thu, 28 Oct 2010 03:29:38 +0000 (+0000) Subject: Minor updates. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7608fcb27e6d60964bfb180d798ddbe86f9e97d7;p=dealii-svn.git Minor updates. git-svn-id: https://svn.dealii.org/trunk@22532 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/development/Makefile.small b/deal.II/doc/development/Makefile.small index 4df6cf37f8..486944be22 100644 --- a/deal.II/doc/development/Makefile.small +++ b/deal.II/doc/development/Makefile.small @@ -7,7 +7,7 @@ # The first is the name of the application. It is assumed that the # application name is the same as the base file name of the single C++ # file from which the application is generated. -target = application-name +target = step-1 # The second field determines whether you want to run your program in # debug or optimized mode. The latter is significantly faster, but no @@ -23,7 +23,7 @@ debug-mode = on # designated by a single-character variable, since that can be # reference using $D only, i.e. without the parentheses that are # required for most other parameters, as e.g. in $(target). -D = ../../deal.II +D = ../../ # The last field specifies the names of data and other files that @@ -60,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 extension is on your -# system, if .o is not appropriate) +# 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 @@ -95,7 +95,7 @@ run: $(target)$(EXEEXT) # backup files, and data files. Since the latter are not usually quite # diverse, you needed to declare them at the top of this file. clean: - -rm -f *.$(OBJEXT) *~ Makefile.dep $(target) $(clean-up-files) + -rm -f *.$(OBJEXT) *~ Makefile.dep $(target)$(EXEEXT) $(clean-up-files) # Since we have not yet stated how to make an object file from a C++ @@ -104,10 +104,10 @@ clean: # command line using the `at' sign in the first column of the rules # and write the string indicating what we do instead. ./%.g.$(OBJEXT) : - @echo ==============debug========= $( Makefile.dep + > $@ \ + || (rm -f $@ ; false) + @if test -s $@ ; then : else rm $@ ; fi # To make the dependencies known to `make', we finally have to include # them: