Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting environment variables in makefiles?



hi,

...I'm using xcode 2.1 with an external build system, and need to set MACOSX_DEPLOYMENT_TARGET in the makefile...I have another project that does this thru the build configuration, and I see the build output uses "setenv MACOSX_DEPLOYMENT_TARGET 10.3", but this doesn't work when I insert it into my makefile (I assume this is because bash is my shell)...

...so, I also tried "export MACOSX_DEPLOYMENT_TARGET=10.4", which doesn't cause an error, but it doesn't seem to set the variable either...

...is there any way to do this?

jamie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.