1include $(SRC_PATH)build/arch.mk 2SHAREDLIB_DIR = $(PREFIX)/bin 3SHAREDLIBSUFFIX = dll 4SHAREDLIBSUFFIXFULLVER=$(SHAREDLIBSUFFIX) 5SHAREDLIBSUFFIXMAJORVER=$(SHAREDLIBSUFFIX) 6EXTRA_LIBRARY=$(LIBPREFIX)$(PROJECT_NAME).dll.a 7SHLDFLAGS = -Wl,--out-implib,$(EXTRA_LIBRARY) 8CFLAGS += -MMD -MP 9LDFLAGS += 10ifeq ($(ASM_ARCH), x86) 11ifeq ($(ARCH), x86_64) 12ASMFLAGS += -f win64 13ASMFLAGS_PLATFORM = -DWIN64 14CC = x86_64-w64-mingw32-gcc 15CXX = x86_64-w64-mingw32-g++ 16AR = x86_64-w64-mingw32-ar 17else 18ASMFLAGS += -f win32 -DPREFIX 19endif 20endif 21ifeq ($(ASM_ARCH), arm) 22CCAS = gas-preprocessor.pl -as-type clang -force-thumb -- $(CC) 23CCASFLAGS = -DHAVE_NEON -mimplicit-it=always 24endif 25EXEEXT = .exe 26 27