Was just walking through a sample libmaple install for my talk at open source bridge tomorrow. http://opensourcebridge.org/sessions/847
Very cool! Will there be a video or slides up online?
As for the example it would be nice to be able to include extra libraries in the project .mk file and it would be nice to not have to pass so much through the environment.
Passing things through the environment is a definite weakness, I agree, especially for build-server type situations where you want to guarantee identical configuration.
I don't understand what you mean about libraries, though. Can't their sources be added to cSRCS_$(d) etc., and their include directories be added via CFLAGS and CXXFLAGS? That'd let you have libraries in your project directory without needing to change your sources if e.g. the libraries get merged into our libmaple tree.
z.b. in a perfect world you could modify the make file and just make/make install from the project directory itself. Any optional libraries (ie SDfat) could go under the project directory. I am thinking about this from a SCM and an IDE perspective.
I agree that this would be much better. The libmaple build system was originally written by a Linux kernel hacker, and it has a similar I-am-the-center-of-the-universe way of looking at things. Maybe we can draw some inspiration from the way out-of-tree kernel modules build themselves for further improving things.
When I get time I will take a shot at this myself.
That'd be awesome.