Simple GNU Makefile for Standard Metrowerks Projects

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Simple GNU Makefile for Standard Metrowerks Projects

1,055 Views
Jim_Kemp
Contributor I
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,
Jim
Labels (1)
0 Kudos
1 Reply

312 Views
englere
Contributor I
This Yahoo forum is a good place to ask this kind of question:
 
 
You'll need both a makefile and a linker script.
 
My IDE makes very simple makefiles and linker scripts for you, and this would give you a place to start. But it only works on Windows.
 
 
Eric
0 Kudos