Re: Select SDK in a Makefile?
Re: Select SDK in a Makefile?
- Subject: Re: Select SDK in a Makefile?
- From: "Sherm Pendley" <email@hidden>
- Date: Thu, 8 May 2008 00:40:52 -0400
On Wed, May 7, 2008 at 7:22 PM, Michael Crawford <
email@hidden> wrote:
Hi Again,
Some of our projects just use Makefiles, and don't have .xcodeproj
files. The Makefiles have the SDK paths hardcoded in them like this:
/Developer/SDKs/10.4u.sdk
That breaks when XCode 2.5 is used on Leopard.
Is there a way to have a Makefile find the SDK when building on both
Leopard and Tiger? Under Tiger the SDK would be in the usual location
in /Developer.
Do the developer machines run 24x7, so that the "locate" database is up to date? If so:
SDK_DIR = $(shell locate 10.4u.sdk)
sherm--
--
Cocoa programming in Perl:
http://camelbones.sourceforge.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden