Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / wmake / rules / linux64Gcc45 / c++
blob3ca193e296dc3a739a5eac704b9c442fcb1d1fcb
1 .SUFFIXES: .C .cxx .cc .cpp
3 c++WARN     = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast
5 CC          = g++ -m64
7 include $(RULES)/c++$(WM_COMPILE_OPTION)
9 ptFLAGS     = -DNoRepository -ftemplate-depth-100
11 c++FLAGS    = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
13 Ctoo        = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
14 cxxtoo      = $(Ctoo)
15 cctoo       = $(Ctoo)
16 cpptoo      = $(Ctoo)
18 LINK_LIBS   = $(c++DBUG)
20 LINKLIBSO   = $(CC) $(c++FLAGS) -shared
21 LINKEXE     = $(CC) $(c++FLAGS) -Xlinker --add-needed