Mercurial > hg > vamp-tempogram
comparison Makefile.mingw32 @ 37:44d8e5dc1902
Split out Makefile to separate single-platform versions and an .inc file
author | Chris Cannam |
---|---|
date | Fri, 12 Sep 2014 14:54:55 +0100 |
parents | |
children | a3d463ea7a57 |
comparison
equal
deleted
inserted
replaced
36:4010960c659e | 37:44d8e5dc1902 |
---|---|
1 | |
2 ## Makefile for Vamp plugin using MinGW tools on Windows. | |
3 ## | |
4 ## Edit this to adjust compiler and library settings when | |
5 ## building using MinGW. | |
6 ## | |
7 ## Note that the list of source files, etc, goes in Makefile.inc | |
8 ## instead so that it can be included by all platform Makefiles. | |
9 | |
10 TOOLPREFIX ?= | |
11 CXX = $(TOOLPREFIX)g++ | |
12 CC = $(TOOLPREFIX)gcc | |
13 LD = $(TOOLPREFIX)g++ | |
14 AR = $(TOOLPREFIX)ar | |
15 RANLIB = $(TOOLPREFIX)ranlib | |
16 | |
17 | |
18 # For a debug build... | |
19 | |
20 CFLAGS := -Wall -Wextra -g | |
21 | |
22 # ... or for a release build | |
23 | |
24 #CFLAGS := -Wall -Wextra -O3 -ftree-vectorize | |
25 | |
26 | |
27 # Location of Vamp plugin SDK relative to the project directory | |
28 | |
29 VAMPSDK_DIR := ../vamp-plugin-sdk | |
30 | |
31 | |
32 # Libraries and linker flags required by plugin: add any -l<library> | |
33 # options here | |
34 | |
35 PLUGIN_LDFLAGS := -shared -static -Wl,--retain-symbols-file=vamp-plugin.list $(VAMPSDK_DIR)/libvamp-sdk.a | |
36 | |
37 | |
38 # File extension for plugin library on this platform | |
39 | |
40 PLUGIN_EXT := .dll | |
41 | |
42 | |
43 include Makefile.inc |