comparison skeleton/Makefile.mingw32 @ 378:29a73259f59a

Split out big Makefile into Makefile.inc and platform-specific Makefiles
author Chris Cannam
date Fri, 05 Sep 2014 09:31:00 +0100
parents
children
comparison
equal deleted inserted replaced
368:0ca8e104e8b1 378:29a73259f59a
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