• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Select SDK in a Makefile?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Select SDK in a Makefile?


  • Subject: Re: Select SDK in a Makefile?
  • From: Greg Guerin <email@hidden>
  • Date: Wed, 7 May 2008 18:39:43 -0700

Michael Crawford wrote:

>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.

Environment variable?

Defaults to "" or "/" if missing, otherwise uses the value it's set to.

Also see 'man env' for how to set an env-var for a particular invocation of
a command.

  -- GG


 _______________________________________________
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

  • Prev by Date: Re: typechecking
  • Next by Date: Re: Select SDK in a Makefile?
  • Previous by thread: Re: Select SDK in a Makefile?
  • Next by thread: Run Script Build Phase and Copy Files Build Phase
  • Index(es):
    • Date
    • Thread