1 .SUFFIXES: .C .cxx .cc .cpp
3 # -Woverloaded-virtual may produce spurious warnings, disable for now
4 c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -Wno-overloaded-virtual
8 include $(RULES)/c++$(WM_COMPILE_OPTION)
10 ptFLAGS = -DNoRepository -ftemplate-depth-100
12 c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
14 Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
19 LINK_LIBS = $(c++DBUG)
21 LINKLIBSO = $(CC) $(c++FLAGS) -shared
22 LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed