COMP: wmake rules for AMD (clang-based) compiler (#1627)

- not fully tested
This commit is contained in:
Mark Olesen
2020-05-06 10:34:42 +02:00
parent 78dc8c6ba6
commit b3464d8afc
15 changed files with 67 additions and 2 deletions

13
wmake/rules/linux64Amd/c Normal file
View 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