mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: wmake rules for AMD (clang-based) compiler (#1627)
- not fully tested
This commit is contained in:
13
wmake/rules/linux64Amd/c
Normal file
13
wmake/rules/linux64Amd/c
Normal file
@ -0,0 +1,13 @@
|
||||
# AMD compiler - a clang variant
|
||||
include $(GENERAL_RULES)/Clang/c
|
||||
|
||||
cARCH = -m64
|
||||
|
||||
# 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)/Amd/link-c
|
||||
Reference in New Issue
Block a user