Mercurial > hg > vampy
view Makefile.mingw32 @ 92:a6718f9fe942
If a module appears to redefine one of our own types, refuse to load it. Also clear out the class dict for all refused modules now, so that we don't get stale names on the next scan due to not having cleared the module on unload
author | Chris Cannam |
---|---|
date | Mon, 14 Jan 2019 16:19:44 +0000 |
parents | 5e26aaba2eed |
children |
line wrap: on
line source
TOOLPREFIX ?= i586-mingw32msvc- CXX = $(TOOLPREFIX)g++ CC = $(TOOLPREFIX)gcc LD = $(TOOLPREFIX)g++ AR = $(TOOLPREFIX)ar RANLIB = $(TOOLPREFIX)ranlib PYVER = 27 CXXFLAGS := $(CXXFLAGS) -I../include -O2 -Wall -I../../Python$(PYVER)/include -I../../Python$(PYVER)/Lib/site-packages/numpy/core/include -DHAVE_NUMPY LDFLAGS := $(LDFLAGS) -static -L../lib -L../../Python$(PYVER)/libs -Wl,-Bstatic -lvamp-sdk -Wl,-Bdynamic -lpython$(PYVER) -Wl,--retain-symbols-file=vamp-plugin.list vampy.dll: PyPlugin.o PyPlugScanner.o vampy-main.o Mutex.o PyTypeInterface.o PyExtensionModule.o PyRealTime.o PyFeature.o PyParameterDescriptor.o PyOutputDescriptor.o PyFeatureSet.o PyExtensionManager.o $(TOOLPREFIX)g++ -shared $^ -o $@ $(LDFLAGS) clean: rm -f *.o