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

Specifying Makefile targets in Xcode


  • Subject: Specifying Makefile targets in Xcode
  • From: John Chang <email@hidden>
  • Date: Mon, 19 Dec 2005 12:14:32 +0100

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Specifying Makefile targets in Xcode
      • From: Paul Russell <email@hidden>
  • Prev by Date: Re: newbie question -- xcode locks up
  • Next by Date: Re: Specifying Makefile targets in Xcode
  • Previous by thread: Re: #warning
  • Next by thread: Re: Specifying Makefile targets in Xcode
  • Index(es):
    • Date
    • Thread