1 .SUFFIXES: .C .cxx .cc .cpp
3 c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wno-overloaded-virtual -Wno-unsequenced -Wno-c++11-extensions -Wno-unused-comparison
5 CC = $(WM_CXX) $(WM_CXXFLAGS) -ftrapping-math
7 include $(RULES)/c++$(WM_COMPILE_OPTION)
9 ptFLAGS = -DNoRepository -ftemplate-depth-200
11 c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC -Ddarwin
13 Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
18 LINK_LIBS = $(c++DBUG) -lpthread
20 LINKLIBSO = $(CC) $(c++FLAGS) -lpthread -dynamiclib -undefined dynamic_lookup
21 LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN)