4635232d93
All the code that relies on separating them uses the built-in defines _WIN32 and _WIN64, or the corresponding machine defines (such as _M_IX86, for MSVC 32 bit inline assembly).
16 lines
305 B
Makefile
16 lines
305 B
Makefile
include build/platform-x86-common.mk
|
|
SHAREDLIBSUFFIX = dll
|
|
CFLAGS += -MMD -MP
|
|
LDFLAGS +=
|
|
ifeq ($(ENABLE64BIT), Yes)
|
|
ASMFLAGS += -f win64
|
|
ASMFLAGS_PLATFORM = -DWIN64
|
|
CC = x86_64-w64-mingw32-gcc
|
|
CXX = x86_64-w64-mingw32-g++
|
|
AR = x86_64-w64-mingw32-ar
|
|
else
|
|
ASMFLAGS += -f win32 -DPREFIX
|
|
endif
|
|
EXEEXT = .exe
|
|
|