Re: Specifying Makefile targets in Xcode
Re: Specifying Makefile targets in Xcode
- Subject: Re: Specifying Makefile targets in Xcode
- From: Paul Russell <email@hidden>
- Date: Mon, 19 Dec 2005 11:55:31 +0000
Probably the easiest solution would be to just put an additional
Makefile in between Xcode and the real Makefile, with a just a couple
of rules/dependencies, such that:
make -> make -f /path/to/real/Makefile osx
make clean -> make -f /path/to/real/Makefile clean
Paul
On 19 Dec 2005, at 11:14, John Chang wrote:
Hi all,
I've got an external Makefile target as part of my project.
On the command line, one would say
make osx
make clean
By default, Xcode's custom build command arguments is "$(ACTION)",
where $ACTION becomes "" or "clean". So Xcode does
make <-- this is wrong
make clean
If one adds "osx" to the arguments, Xcode does
make osx
make clean osx <-- this is wrong
Is there any way to specify the "osx" target in the Makefile, ONLY
for the first "build" action?
(The Makefile comes from an external project so I'd prefer not to
touch those bits and simply wrap around.)
Thanks,
/John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40sonic.net
This email sent to email@hidden
_______________________________________________
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