hazelnut/agent-vs2022/build/arch.mk
modeco80 182266ec3c agent built with clang + vs2022 libs
a better compiler. also i dont need a seperate dev machine with vs 2013 installed anymore, thank god
2024-11-30 00:40:18 -05:00

20 lines
353 B
Makefile

#x86_Valid=yes # FOR NOW
#x86_TRIPLET=i686-pc-msvc-windows
x64_Valid=yes
x64_TRIPLET=x86_64-pc-msvc-windows
ifeq ($(ARCH),)
ARCH = x64
endif
ifneq ($($(ARCH)_Valid),yes)
$(error Please select a valid target)
endif
# if we really need C
CC = clang --target=$($(ARCH)_TRIPLET)
CXX = clang++ --target=$($(ARCH)_TRIPLET)
LD := lld-link
RC := llvm-rc