SAPIServer/speech2/build/arch.mk

20 lines
317 B
Makefile
Raw Normal View History

2024-07-17 21:38:27 -04:00
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