changeset 128:611e039168ad

...
author cannam
date Thu, 28 Feb 2008 14:01:22 +0000
parents 1da43924fa14
children 8e11b0bbcb3c
files Makefile.osx
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.osx	Thu Feb 28 13:41:57 2008 +0000
+++ b/Makefile.osx	Thu Feb 28 14:01:22 2008 +0000
@@ -44,7 +44,7 @@
 
 # Compile flags
 #
-CXXFLAGS	:= $(CXXFLAGS) -O2 -Wall -I. -fPIC
+CXXFLAGS	:= $(CXXFLAGS) -O2 -Wall -I. -fPIC -arch i386 -arch ppc
 
 # ar, ranlib
 #
@@ -64,14 +64,14 @@
 
 # Libraries required for the host.
 #
-HOST_LIBS	= $(SDKDIR)/libvamp-hostsdk.a -lsndfile -ldl
+HOST_LIBS	= -arch i386 -arch ppc $(SDKDIR)/libvamp-hostsdk.a -lsndfile -ldl
 
 # Flags required to tell the compiler to create a dynamically loadable object
 #
-DYNAMIC_LDFLAGS		= -dynamiclib
-PLUGIN_LDFLAGS		= $(DYNAMIC_LDFLAGS)
-SDK_DYNAMIC_LDFLAGS	= $(DYNAMIC_LDFLAGS)
-HOSTSDK_DYNAMIC_LDFLAGS	= $(DYNAMIC_LDFLAGS)
+DYNAMIC_LDFLAGS		= -dynamiclib -arch i386 -arch ppc
+PLUGIN_LDFLAGS		= $(DYNAMIC_LDFLAGS) -install_name vamp-example-plugins.dylib
+SDK_DYNAMIC_LDFLAGS	= $(DYNAMIC_LDFLAGS) -install_name libvamp-sdk.dylib
+HOSTSDK_DYNAMIC_LDFLAGS	= $(DYNAMIC_LDFLAGS) -install_name libvamp-hostsdk.dylib
 
 
 ### End of user-serviceable parts