mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- largely as per patch from Jong-Gwan (Jason) Do
NB: the intel-one setup adds in paths for intelmpi.
Its mpicc version does not harmonize with the OpenFOAM
system openmpi setup (using mpicc --showme:link).
Needs adjustment, or use intelmpi instead.
- update name mappings for newer gcc, clang versions
17 lines
536 B
Plaintext
17 lines
536 B
Plaintext
#------------------------------------------------------------------------------
|
|
include $(GENERAL_RULES)/Icc/c
|
|
|
|
cARCH =
|
|
|
|
# Compile option is non-mandatory, but must be non-empty
|
|
sinclude $(DEFAULT_RULES)/c$(WM_COMPILE_OPTION)
|
|
|
|
cFLAGS = $(cARCH) $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
|
|
|
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $< -o $@
|
|
|
|
include $(GENERAL_RULES)/Icc/link-c
|
|
|
|
#legacy: LINK_LIBS += -L$(IA32ROOT)/lib
|
|
#------------------------------------------------------------------------------
|