Tuesday, September 25, 2012

Where can I find "make" for MAC OS X Lion


"make" command or utility to be precise is used to figure out which parts of a large program needs to be recompiled and issues commands to recompile them. It is not limited to just programs but can be used for any other instructions where some files need to be updated automatically.

To be able to use make you need to install the make utility and write a Makefile (describes the relationship between various files of your program and also has instructions/commands for updating them).

Generally "make" utility comes by default on any *nix platforms. But on MAC OS X it does not come by default. You need to install XCode and command line tools in order to get make as well as some other developer tools installed.

Earlier XCode installation itself installed make and other tools but now those need to be installed separately.. Here is what you need to do..

1.  Open XCode.
2.  Goto Preferences -> Downloads.
3.  Select Command Line Tools and click Install.

This will install command line tools which include make and other developer tools like gcc on your machine. 

No comments:

Post a Comment