changeset 45:56eabc22ccbf

mingw32 build fixes
author Chris Cannam
date Mon, 04 Aug 2014 17:47:17 +0100
parents 225201df055c
children d83ac7c87f9c
files TestInitialise.cpp build/Makefile.mingw32
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/TestInitialise.cpp	Mon Aug 04 17:44:17 2014 +0100
+++ b/TestInitialise.cpp	Mon Aug 04 17:47:17 2014 +0100
@@ -49,6 +49,7 @@
 using namespace std;
 
 #include <cmath>
+#include <ctime>
 
 #ifndef __GNUC__
 #include <alloca.h>
--- a/build/Makefile.mingw32	Mon Aug 04 17:44:17 2014 +0100
+++ b/build/Makefile.mingw32	Mon Aug 04 17:47:17 2014 +0100
@@ -6,19 +6,19 @@
 AR		= $(TOOLPREFIX)ar
 RANLIB		= $(TOOLPREFIX)ranlib
 
-LDFLAGS 	+= -L../vamp-plugin-sdk -lvamp-hostsdk -ldl
+LDFLAGS 	+= -L../vamp-plugin-sdk -lvamp-hostsdk
 CXXFLAGS	+= -I../vamp-plugin-sdk -g -Wall -Wextra 
 
 OBJECTS		:= vamp-plugin-tester.o Tester.o Test.o TestStaticData.o TestInputExtremes.o TestMultipleRuns.o TestOutputs.o TestDefaults.o TestInitialise.o
 
-vamp-plugin-tester:	$(OBJECTS)
+vamp-plugin-tester.exe:	$(OBJECTS)
 	$(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
 
 clean:
 	rm -f $(OBJECTS)
 
 distclean:	clean
-	rm -f *~ vamp-plugin-tester
+	rm -f *~ vamp-plugin-tester.exe
 
 depend:
 	makedepend -Y *.cpp *.h