2014-10-22 09:18:53 +02:00
|
|
|
include $(SRC_PATH)build/x86-common.mk
|
2014-11-13 14:18:33 +01:00
|
|
|
SHAREDLIB_DIR = $(PREFIX)/bin
|
2014-02-19 02:54:27 +01:00
|
|
|
SHAREDLIBSUFFIX = dll
|
2014-11-13 14:18:33 +01:00
|
|
|
SHAREDLIBSUFFIXVER=$(SHAREDLIBSUFFIX)
|
2014-12-01 11:41:40 +01:00
|
|
|
EXTRA_LIBRARY=$(LIBPREFIX)$(PROJECT_NAME).dll.a
|
|
|
|
SHLDFLAGS = -Wl,--out-implib,$(EXTRA_LIBRARY)
|
2014-04-01 03:24:10 +02:00
|
|
|
CFLAGS += -MMD -MP
|
2014-01-05 13:12:47 +01:00
|
|
|
LDFLAGS +=
|
2015-04-20 10:47:41 +02:00
|
|
|
ifeq ($(ARCH), x86_64)
|
2014-01-10 12:28:19 +01:00
|
|
|
ASMFLAGS += -f win64
|
|
|
|
ASMFLAGS_PLATFORM = -DWIN64
|
2014-02-12 21:12:33 +01:00
|
|
|
CC = x86_64-w64-mingw32-gcc
|
2014-01-10 12:28:19 +01:00
|
|
|
CXX = x86_64-w64-mingw32-g++
|
|
|
|
AR = x86_64-w64-mingw32-ar
|
|
|
|
else
|
2014-01-02 10:19:25 +01:00
|
|
|
ASMFLAGS += -f win32 -DPREFIX
|
2014-01-10 12:28:19 +01:00
|
|
|
endif
|
2014-01-23 15:14:09 +01:00
|
|
|
EXEEXT = .exe
|
2013-12-17 14:13:21 +01:00
|
|
|
|