<p>I want to generate a Makefile from an existing Xcode project on the Mac. Specifically, an existing iPhone, Objective-C program on the Mac.</p>

<p>I found <a href="http://members.bellatlantic.net/%7Evze35xda/software.html" rel="noreferrer">PBToMake</a>, but it looks like it is for Xcode 2.1 and when I tried using it, it did not work for an Xcode 3.1 project.</p>

Xcode does not support generating a Makefile from a project. If you just want to build your project outside of the IDE, check out the
```
xcodebuild
```
command-line tool.