1 .SUFFIXES: .C .cxx .cc .cpp
3 c++WARN = -Wall -Wextra -Wno-unused-parameter
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)
13 Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
18 LINK_LIBS = $(c++DBUG)
20 # Tried using -Wl,-no-undefined,--enable-runtime-pseudo-reloc
21 # but didnt forgive undefined symbols during linking
22 LINKLIBSO = $(CC) $(c++FLAGS) -Wl,--output-def,$(LIB).def,--out-implib,$(LIB).a,--enable-auto-import -shared
23 LINKEXE = $(CC) $(c++FLAGS) -Wl,--enable-auto-import,--force-exe-suffix