PDA

View Full Version : Using makefiles




Soulstorm
Oct 17, 2005, 05:48 PM
Newbie here!

I have downloaded a source for a program. It includes a makefile inside it.

I know that this is the key file to create an application for OS X. But how do I compile all those files using the makefile?



mrichmon
Oct 17, 2005, 06:28 PM
Newbie here!

I have downloaded a source for a program. It includes a makefile inside it.

I know that this is the key file to create an application for OS X. But how do I compile all those files using the makefile?

You type in 'make'.

However generally with source distributions the author will include a README.txt or INSTALL.txt file that explains how to compile the program. If you do not have development experience then you are probably better off checking whether there is a binary distribution or whether it is supported by the fink project.

teh_pwnerer
Oct 17, 2005, 06:57 PM
Typically there is an 'INSTALL' or 'README' file in the archive. You might want to check that out first.
Whoa! I should have read that guys post.