James Kemp

Simple GNU Makefile for Standard Metrowerks Projects

Discussion created by James Kemp on Sep 17, 2006
Latest reply on Sep 19, 2006 by Eric Engler
Hello All,

Does anyone have a simple GNU makefile that can be adapted to the standard Metrowerks project layout. In other words, I want to switch from the GUI and start using GNU make to rebuild my project. The makefile needs to rebuild several directories such as “CODE” and “Sources” plus a few that I have added. It would be nice if all the objects went into an obj output directory. The complete solution would also automatically sort out the dependencies (but I can hanndle this for now).

This can’t be that hard – but after several hours of reading the GNU make manual my head is spinning.

Thanks for any help you can provide,