22 lines
754 B
Text
22 lines
754 B
Text
|
.SUFFIXES: .C .cxx .cc .cpp
|
||
|
|
||
|
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wno-undefined-var-template -Wno-deprecated-register -Wno-overloaded-virtual -Wno-null-dereference
|
||
|
|
||
|
CC = armclang++ -std=c++11 -DARM_CLANG
|
||
|
|
||
|
include $(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 $$SOURCE -o $@
|
||
|
cxxtoo = $(Ctoo)
|
||
|
cctoo = $(Ctoo)
|
||
|
cpptoo = $(Ctoo)
|
||
|
|
||
|
LINK_LIBS = $(c++DBUG)
|
||
|
|
||
|
LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed
|
||
|
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed
|