• 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: Specifying Makefile targets in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Specifying Makefile targets in Xcode (From: John Chang <email@hidden>)

  • Prev by Date: Specifying Makefile targets in Xcode
  • Next by Date: CW to Xcode transition - Is more RAM worthwhile?
  • Previous by thread: Specifying Makefile targets in Xcode
  • Next by thread: CW to Xcode transition - Is more RAM worthwhile?
  • Index(es):
    • Date
    • Thread