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