changeset 154:90c2f0b597f8

Permit tool prefix to be specified
author Chris Cannam
date Tue, 05 Aug 2014 11:06:18 +0100
parents beb388e64d3e
children 3226fe4e1280
files Makefile.mingw
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.mingw	Wed Jun 25 13:53:21 2014 +0100
+++ b/Makefile.mingw	Tue Aug 05 11:06:18 2014 +0100
@@ -5,8 +5,10 @@
 
 VAMP_SDK_DIR = ../vamp-plugin-sdk
 
-CC=gcc
-CXX=g++
+# Allow the invoker to specify a particular set of tools through
+# TOOLPREFIX, e.g. for cross-compile
+CC=$(TOOLPREFIX)gcc
+CXX=$(TOOLPREFIX)g++
 
 OPTFLAGS = -O2 -ffast-math