To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / skeleton / Makefile.mingw32

History | View | Annotate | Download (949 Bytes)

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