Closed sampsyo closed 10 years ago
Once this is done, we should also document the way Makefiles work (and app.mk in particular) so people have a chance at understanding how to do more advanced things with their build workflows.
A marginally nicer alternative to what we have now would be to use make's include paths. The required line could be just include app.mk
with the right path set up with .INCLUDE_DIRS. We could then extend he path with a flag.
.INCLUDE_DIRS
is apparently not assignable. Giving up on this.
Currently, to set up a new application, you have to create a Makefile with some boilerplate in it:
It would be nice to streamline this process:
TARGET
definition; just use a dumb default name like "program" by default.app.mk
. It would be great if an application didn't need to know where ACCEPT was located so the application could be relocatable.