diff Makefile @ 89:c36fb54b8491

* Add ranlib, just in case
author cannam
date Fri, 12 Oct 2007 16:44:17 +0000
parents bd5d5ba29d3c
children c94c066a4897
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)