Mercurial > hg > vamp-plugin-sdk
comparison skeleton/Makefile.mingw32 @ 383:654a7e9839f6
Merge
author | Chris Cannam |
---|---|
date | Fri, 12 Sep 2014 16:50:21 +0100 |
parents | 29a73259f59a |
children |
comparison
equal
deleted
inserted
replaced
382:656ce0eae135 | 383:654a7e9839f6 |
---|---|
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 |