annotate Makefile.mingw32 @ 160:c345d0f2c760

Looks like --retain-symbols-file=<file>.list is the PE equivalent of the ELF version script for our purposes
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 06 Aug 2014 16:02:25 +0100
parents b83fa746d292
children
rev   line source
c@158 1
c@158 2 TOOLPREFIX ?= i586-mingw32msvc-
c@158 3 CXX = $(TOOLPREFIX)g++
c@158 4 CC = $(TOOLPREFIX)gcc
c@158 5 LD = $(TOOLPREFIX)g++
c@158 6 AR = $(TOOLPREFIX)ar
c@158 7 RANLIB = $(TOOLPREFIX)ranlib
c@158 8
c@158 9 CFLAGS += -DNDEBUG -O3 -msse -msse2 -ffast-math -mfpmath=sse -Wall -Wextra
c@158 10 LDFLAGS += -static
c@158 11
c@158 12 CXXFLAGS += $(CFLAGS)
c@160 13 PLUGIN_LDFLAGS := $(LDFLAGS) -shared -Wl,--retain-symbols-file=vamp/vamp-plugin.list
c@158 14
c@158 15 VAMPSDK_DIR := ../vamp-plugin-sdk
c@158 16 PLUGIN_EXT := .dll
c@158 17
c@158 18 include Makefile.inc
c@158 19