From: bangerth Date: Thu, 4 Nov 2010 03:27:07 +0000 (+0000) Subject: Remove now no longer used third Makefile template. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cc3f32becf4c7c7514c15f7e84529e86dc06214;p=dealii-svn.git Remove now no longer used third Makefile template. git-svn-id: https://svn.dealii.org/trunk@22603 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/common/Makefile.template.in b/deal.II/common/Makefile.template.in deleted file mode 100644 index 22408785a7..0000000000 --- a/deal.II/common/Makefile.template.in +++ /dev/null @@ -1,75 +0,0 @@ -# Directory with the DEAL distribution - -D = @prefix@ - - -# Include general rules for making deal.II object files - -include $D/common/Make.rules - -# Set debug-mode as a default. -# You may replace this by by a command line argument debug-mode=off - -debug-mode = on - - -# Define library names. Using these variables automatically selects -# the proper names for shared or static libraries. -# -# Here, the version for 2d. Replace 2d by 3d or add $(lib-deal2-3d.o) -# when needed. - -libs = $(lib-deal2-2d.o) $(lib-lac.o) $(lib-base.o) -libs.g = $(lib-deal2-2d.g) $(lib-lac.g) $(lib-base.g) - -# Select compiler flags according to debug-mode -# and allow for additional CXXFLAGS. - - -ifeq ($(debug-mode),on) -libraries = $(libs.g) -flags = $(CXXFLAGS.g) $(CXXFLAGS) -endif - -ifeq ($(debug-mode),off) -libraries = $(libs) -flags = $(CXXFLAGS.o) $(CXXFLAGS) -endif - - -# Typical block for building a running program called target1 -# -# 1. provide a list of source files in ...-cc-files -# If you have several targets in one directory, replace -# the shell command by an explicit list of .cc-files. - -target1-cc-files = $(shell echo *.cc) - -# 2. generate the list of object files according to debug-mode - -ifeq ($(debug-mode),on) -target1-o-files = $(target1-cc-files:.cc=.g.o) -else -target1-o-files = $(target1-cc-files:.cc=.o) -endif - -# 3. make executable -# Use extra libraries and linker flags as configured. We -# always add -g to keep debug symbols. Use strip for smaller -# executables. - -target1: $(target1-o-files) $(libraries) - $(CXX) $(LDFLAGS) -g -o $@ $^ $(LIBS) - -# Copy this block for all your targets and replace "target1" by a proper name. - -# Cleanup targets - -clean: - rm -f *.o *.go - -veryclean: clean - rm -f target1 *.inp *.gpl *.eps *.gnuplot - - - diff --git a/deal.II/configure b/deal.II/configure index e48e04ec30..d83c19a683 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -18109,7 +18109,6 @@ LDFLAGS="-L$DEAL_II_PATH/lib $LDFLAGS" process_files="common/Make.global_options - common/Makefile.template common/scripts/make_dependencies.pl common/scripts/make_todo.pl Version diff --git a/deal.II/configure.in b/deal.II/configure.in index 53cd9b1e11..7dab4cc12b 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -808,7 +808,6 @@ AC_SUBST(LDFLAGSPIC) dnl Write output to the global options file and modify other files as well dnl that need some information process_files="common/Make.global_options - common/Makefile.template common/scripts/make_dependencies.pl common/scripts/make_todo.pl Version