Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / wmake / rules / linux64Gcc / c++
blob520e39c3b1aa0860a94e5cc9c8cf5d6d926d08a4
1 .SUFFIXES: .C .cxx .cc .cpp
3 c++WARN     = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor
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