changeset 89:c36fb54b8491

* Add ranlib, just in case
author cannam
date Fri, 12 Oct 2007 16:44:17 +0000
parents d17b9ca3b8c9
children 036db77506f7
files Makefile
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Oct 12 09:52:10 2007 +0000
+++ b/Makefile	Fri Oct 12 16:44:17 2007 +0000
@@ -30,6 +30,11 @@
 #
 CXXFLAGS	:= $(CXXFLAGS) -O2 -Wall -I. -fpic
 
+# ar, ranlib
+#
+AR		:= ar
+RANLIB		:= ranlib
+
 # Libraries required for the plugins.
 # (Note that it is desirable to statically link libstdc++ if possible,
 # because our plugin exposes only a C API so there are no boundary
@@ -41,6 +46,7 @@
 # File extension for a dynamically loadable object
 #
 PLUGIN_EXT	= .so
+#PLUGIN_EXT	= .dll
 #PLUGIN_EXT	= .dylib
 
 # Libraries required for the host.
@@ -161,9 +167,11 @@
 HOST_TARGET	= \
 		$(HOSTDIR)/vamp-simple-host
 
-sdk:		$(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC)
+sdk:		sdkstatic $(SDK_DYNAMIC) $(HOSTSDK_DYNAMIC)
 
 sdkstatic:	$(SDK_STATIC) $(HOSTSDK_STATIC)
+		$(RANLIB) $(SDK_STATIC)
+		$(RANLIB) $(HOSTSDK_STATIC)
 
 plugins:	$(PLUGIN_TARGET)