Mercurial > hg > vamp-plugin-sdk
comparison build/Makefile.osx @ 306:b923a3d9c3d5
* Update OS/X stuff in Makefiles, so as to build 3-way universal binaries
using 10.4 SDK (where available, or 10.5 otherwise -- though the choice
needs to be made by the user)
author | cannam |
---|---|
date | Fri, 13 Aug 2010 15:08:23 +0000 |
parents | 250c7aaff287 |
children | 003147fdf42c |
comparison
equal
deleted
inserted
replaced
305:250c7aaff287 | 306:b923a3d9c3d5 |
---|---|
56 # clean -- remove binary targets | 56 # clean -- remove binary targets |
57 # distclean -- remove all targets | 57 # distclean -- remove all targets |
58 # | 58 # |
59 default: all | 59 default: all |
60 | 60 |
61 # Architecture and developer SDK selection flags. Define this only | 61 # Architecture and developer SDK selection flags. Change these only |
62 # if you want to select a different OS/X compatibility level from the | 62 # if you want to select a different OS/X compatibility level from the |
63 # default (which is to target 10.4 or newer and build universal binaries). | 63 # default (which is to target 10.4 or newer and build 3-way universal |
64 # | 64 # binaries). |
65 SDKFLAGS = -isysroot /Developer/SDKs/MacOSX10.4u.sdk | 65 # |
66 # If you don't have the 10.4 version of the OS/X SDK, change "10.4u" | |
67 # and "10.4" to "10.5" (or whatever is the oldest SDK available to | |
68 # you) for maximum portability. | |
69 # | |
70 SDKFLAGS = -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 | |
66 ARCHFLAGS = $(SDKFLAGS) -arch i386 -arch x86_64 -arch ppc | 71 ARCHFLAGS = $(SDKFLAGS) -arch i386 -arch x86_64 -arch ppc |
67 | 72 |
68 # Compile flags | 73 # Compile flags |
69 # | 74 # |
70 CXXFLAGS = $(ARCHFLAGS) -O2 -Wall -I. -fPIC | 75 CXXFLAGS = $(ARCHFLAGS) -O2 -Wall -I. -fPIC |