forward-declarations = $D/base/include/base/forward-declarations.h
-include $D/deal.II/Make.global_options
+include $D/common/Make.global_options
# urgh, this is a weird hack, since this function uses the $@ variable
../lib/o/%.o :
@echo =================== Compiling with optimization: $< \
" " $(patsubst -Ddata_out_dimension=%,dimension=%,$(maybe-define-dimension))
- @$(CXX) $(CXXFLAGS) $(maybe-define-dimension) -c $< -o $@
+ @$(CXX) $(CXXFLAGS.o) $(maybe-define-dimension) -c $< -o $@
lib: ../lib/libbase.g.a ../lib/libbase.a
CXX = c++
INCLUDE = -I$D/deal.II/include -I$D/lac/include \
-I$D/base/include
-CXXFLAGS.g= -DDEBUG -ggdb -Wall -W -Wconversion \
+CXXFLAGS.g= -ansi -DDEBUG -ggdb -Wall -W -Wconversion \
-Winline -Woverloaded-virtual -fno-builtin\
- -fno-vtable-thunks \
+ -fno-vtable-thunks -ftemplate-depth-32\
$(INCLUDE)
CXXFLAGS.o= -O2 -Wuninitialized -ffast-math \
-felide-constructors -fnonnull-objects \
- -fno-vtable-thunks \
+ -fno-vtable-thunks -ftemplate-depth-32\
$(INCLUDE)
-%.go : %.cc #Makefile
- @echo =====debug========= $<
- @$(CXX) $(flags) -c $< -o $@
-%.o : %.cc #Makefile
- @echo =====optimized===== $<
- @$(CXX) $(flags) -c $< -o $@
+#%.go : %.cc #Makefile
+# @echo =====debug========= $<
+# @$(CXX) $(flags) -c $< -o $@
+#%.o : %.cc #Makefile
+# @echo =====optimized===== $<
+# @$(CXX) $(flags) -c $< -o $@
+
+++ /dev/null
-# $Id$
-# Copyright W. Bangerth, G. Kanschat, University of Heidelberg, 1998, 1999
-
-# This file uses the variable $D, which is the deal home directory,
-# that is, the parent directory of this directory.
-#
-# Please set $D to the right path before including this file!
-
-vpath %.a $D/base/lib
-vpath %.a $D/lac/lib
-vpath %.a $D/deal.II/lib
-
-CXX = c++
-INCLUDE = -I$D/deal.II/include -I$D/lac/include \
- -I$D/base/include
-CXXFLAGS.g= -ansi -DDEBUG -ggdb -Wall -W -Wconversion \
- -Winline -Woverloaded-virtual -fno-builtin\
- -fno-vtable-thunks -ftemplate-depth-32\
- $(INCLUDE)
-CXXFLAGS =-O2 -Wuninitialized -ffast-math \
- -felide-constructors -fnonnull-objects \
- -fno-vtable-thunks -ftemplate-depth-32\
- $(INCLUDE)
-
-
-
forward-declarations = $D/deal.II/include/basic/forward-declarations.h
-include $D/deal.II/Make.global_options
+include $D/common/Make.global_options
@$(CXX) $(CXXFLAGS.g) -Ddeal_II_dimension=1 -c $< -o $@
../lib/1d/o/%.o :
@echo ==============1d======optimized========= $<
- @$(CXX) $(CXXFLAGS) -Ddeal_II_dimension=1 -c $< -o $@
+ @$(CXX) $(CXXFLAGS.o) -Ddeal_II_dimension=1 -c $< -o $@
../lib/2d/go/%.go :
@echo ==============2d======debug============= $<
@$(CXX) $(CXXFLAGS.g) -Ddeal_II_dimension=2 -c $< -o $@
../lib/2d/o/%.o :
@echo ==============2d======optimized========= $<
- @$(CXX) $(CXXFLAGS) -Ddeal_II_dimension=2 -c $< -o $@
+ @$(CXX) $(CXXFLAGS.o) -Ddeal_II_dimension=2 -c $< -o $@
../lib/3d/go/%.go :
@echo ==============3d======debug============= $<
@$(CXX) $(CXXFLAGS.g) -Ddeal_II_dimension=3 -c $< -o $@
../lib/3d/o/%.o :
@echo ==============3d======optimized========= $<
- @$(CXX) $(CXXFLAGS) -Ddeal_II_dimension=3 -c $< -o $@
+ @$(CXX) $(CXXFLAGS.o) -Ddeal_II_dimension=3 -c $< -o $@
# special rules for exceptional files
../lib/3d/o/q1_mapping_jacobians_3d.o:
@echo "==============3d======opt==(special)====" $<
- @$(CXX) $(filter-out -O2 -Wuninitialized,$(CXXFLAGS)) -Ddeal_II_dimension=3 -c $< -o $@
+ @$(CXX) $(filter-out -O2 -Wuninitialized,$(CXXFLAGS.o)) -Ddeal_II_dimension=3 -c $< -o $@
#Makefile.dep, which this rule won't see, so we end up
#generating it twice. therefore: do nothing if in a nested
#make
-../lib/Makefile.dep: $(cc-files) $(h-files) $(forward-declarations) Makefile ../Make.global_options
+../lib/Makefile.dep: $(cc-files) $(h-files) $(forward-declarations) Makefile ../../common/Make.global_options
ifneq (1,${recursive-make-fwd-decl})
@echo ============================ Remaking Makefile
@echo "# This Makefile was automatically generated by ../source/Makefile" \
forward-declarations = $D/lac/include/lac/forward-declarations.h
-include $D/deal.II/Make.global_options
+include $D/common/Make.global_options
../lib/go/%.go :
@$(CXX) $(CXXFLAGS.g) -c $< -o $@
../lib/o/%.o :
@echo ============================ Compiling with optimization: $<
- @$(CXX) $(CXXFLAGS) -c $< -o $@
+ @$(CXX) $(CXXFLAGS.o) -c $< -o $@
lib: ../lib/liblac.g.a ../lib/liblac.a