SAPIServer/speech2/build/arch.mk
2024-07-17 21:40:14 -04:00

20 lines
317 B
Makefile

x86_Valid=yes
x86_TRIPLET=i686-w64-mingw32
#x64_Valid=yes
#x64_TRIPLET=x86_64-w64-mingw32
ifeq ($(ARCH),)
ARCH = x86
endif
ifneq ($($(ARCH)_Valid),yes)
$(error Please select a valid target)
endif
# if we really need C
CC = $($(ARCH)_TRIPLET)-gcc
CXX = $($(ARCH)_TRIPLET)-g++
WINDRES = $($(ARCH)_TRIPLET)-windres