changeset 17:a8ca8a90257c

Mingw32 Makefile
author Chris Cannam
date Thu, 20 Aug 2015 17:22:25 +0100
parents 68fe8789b7ef
children c785eaaeac40
files Makefile.mingw32
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile.mingw32	Thu Aug 20 17:22:25 2015 +0100
@@ -0,0 +1,18 @@
+
+TOOLPREFIX     ?= i586-mingw32msvc-
+CXX		= $(TOOLPREFIX)g++
+CC		= $(TOOLPREFIX)gcc
+LD		= $(TOOLPREFIX)g++
+AR		= $(TOOLPREFIX)ar
+RANLIB		= $(TOOLPREFIX)ranlib
+
+CXXFLAGS 	:= $(CXXFLAGS) -DUSE_OWN_ALIGNED_MALLOC -DNDEBUG -O3 -msse -msse2 -ffast-math -mfpmath=sse -Wall -Wextra -std=c++11
+PLUGIN_LDFLAGS 	:= $(LDFLAGS) -shared -static -Wl,--retain-symbols-file=vamp-plugin.list
+
+VAMPSDK_DIR 	:= ../vamp-plugin-sdk
+PLUGIN_EXT 	:= .dll
+
+MAKEFILE_EXT    := .mingw32
+
+include Makefile.inc
+