22 lines
576 B
Text
22 lines
576 B
Text
.SUFFIXES: .C .cxx .cc .cpp
|
|
|
|
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast
|
|
|
|
CC = g++ -mabi=64
|
|
#CC = scg++ -mabi=64
|
|
|
|
include $(RULES)/c++$(WM_COMPILE_OPTION)
|
|
|
|
ptFLAGS = -DNoRepository -ftemplate-depth-200
|
|
|
|
c++FLAGS = -G0 $(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
|
|
LINKEXE = $(CC) $(c++FLAGS)
|