- rearranged order of flags so that FOAM_EXTRA_CXXFLAGS is added after the WARN/OPT/DBUG flags CONFIG: drop wmake rules for PGI compiler (defunct)
25 lines
768 B
Plaintext
25 lines
768 B
Plaintext
#------------------------------------------------------------------------------
|
|
# Cray compiler - a gcc variant/wrapper
|
|
# presumably new enough to support c++14
|
|
#------------------------------------------------------------------------------
|
|
include $(GENERAL_RULES)/Gcc/c++
|
|
|
|
CC = CC -std=c++14
|
|
|
|
c++ARCH = -m64 -pthread
|
|
|
|
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
|
|
|
|
c++FLAGS = \
|
|
$(c++ARCH) $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) \
|
|
$(FOAM_EXTRA_CXXFLAGS) $(LIB_HEADER_DIRS) -fPIC
|
|
|
|
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $< -o $@
|
|
cctoo = $(Ctoo)
|
|
cpptoo = $(Ctoo)
|
|
cxxtoo = $(Ctoo)
|
|
|
|
include $(GENERAL_RULES)/Gcc/link-c++
|
|
|
|
#------------------------------------------------------------------------------
|