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

View File

@ -0,0 +1,15 @@
# AMD compiler - a clang variant
include $(GENERAL_RULES)/Clang/c++
c++ARCH = -m64
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
c++FLAGS = $(c++ARCH) $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $< -o $@
cxxtoo = $(Ctoo)
cctoo = $(Ctoo)
cpptoo = $(Ctoo)
include $(GENERAL_RULES)/Amd/link-c++