|
Makefile issues
Makefiles... Gah!
One of my projects requires the building of an arbitrary amount of modules, each of which needs to be compiled, linked, and copied over to another directory. All well and good, but the number of executables that needs to be built is ever fluctuating, and getting bigger. I want my makefile to be nice and easy to manage, low maintenance and not too unwieldy.
This is the exact opposite of what it is. It's bloody huge, and eats up more time than coding the thing does. How would I detect for each of the modules, and compile them separate (BTW, for the record, every directory in the src/ folder is a separate module, other than src/modules/, in which every subdirectory in there is another module too ^^ nice and complicated source tree)
I don't want you to write my makefile for me, I wouldn't learn anything that way. I would like a prod in the right direction - a link to a tutorial, a piece of documentation, an example from something you've written, so that I can write it myself, and learn how to do it in the future.
Thanks,
Connor
|