- easier to test or use different versions - change WM_CXXFLAGS to -std=c++11 instead of -std=c++0x
25 lines
802 B
Plaintext
25 lines
802 B
Plaintext
SUFFIXES += .C
|
|
|
|
c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-undefined-var-template
|
|
|
|
# Suppress some warnings for flex++ and CGAL
|
|
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-tautological-undefined-compare -Wno-shift-negative-value
|
|
|
|
CC = clang++ -std=c++11 -m64
|
|
|
|
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
|
|
|
|
ptFLAGS = -DNoRepository -ftemplate-depth-100
|
|
|
|
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
|
|
|
|
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $< -o $@
|
|
cxxtoo = $(Ctoo)
|
|
cctoo = $(Ctoo)
|
|
cpptoo = $(Ctoo)
|
|
|
|
LINK_LIBS = $(c++DBUG)
|
|
|
|
LINKLIBSO = $(CC) $(c++FLAGS) -shared
|
|
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed
|