annotate Makefile.mingw @ 62:f3afde2a8ced matthiasm-plugin

* Rename Makefiles so that you always have to run make -f instead of one platform-specific variation appearing to be "standard"
author Chris Cannam
date Tue, 26 Oct 2010 11:11:04 +0200
parents
children 45fc8c48af3b
rev   line source
Chris@62 1
Chris@62 2 PLUGIN_LIBRARY_NAME = nnls-chroma
Chris@62 3
Chris@62 4 PLUGIN_CODE_OBJECTS = chromamethods.o NNLSBase.o NNLSChroma.o Chordino.o Tuning.o plugins.o nnls.o viterbi.o
Chris@62 5
Chris@62 6 VAMP_SDK_DIR = ../vamp-plugin-sdk
Chris@62 7
Chris@62 8 CC=gcc
Chris@62 9 CXX=g++
Chris@62 10
Chris@62 11 CFLAGS = -I$(VAMP_SDK_DIR) -Wall -O3 -ffast-math -msse -msse2 -mfpmath=sse -ftree-vectorize -fPIC
Chris@62 12 #CFLAGS = -g -I$(VAMP_SDK_DIR) -Wall -fPIC
Chris@62 13 CXXFLAGS = -I$(VAMP_SDK_DIR) -I../boost_1_44_0 -Wall -fPIC
Chris@62 14 PLUGIN_EXT = .dll
Chris@62 15 PLUGIN = $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT)
Chris@62 16 LDFLAGS = -shared -Wl,-soname=$(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -Wl,--version-script=vamp-plugin.map
Chris@62 17
Chris@62 18
Chris@62 19 $(PLUGIN): $(PLUGIN_CODE_OBJECTS)
Chris@62 20 $(CXX) -o $@ $^ $(LDFLAGS)
Chris@62 21
Chris@62 22 clean:
Chris@62 23 del *.o
Chris@62 24