Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / wmake / rules / linuxPPC64Gcc / c++
blobb8e735a5bcd9e530005765564337c37292562aeb
1 .SUFFIXES: .C .cxx .cc .cpp
3 c++WARN     = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast
5 CC          = g++ -m64 -mcpu=power5+
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