Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Makefiles: Use .DEFAULT to support arbitrary targets from sub directories. | Carl Worth | 2010-01-06 |
| | | | | | Taking advantage of the .DEFAULT construct means that we won't need to explicitly list targets such as "clean", etc. in each sub-Makefile. | ||
* | Use $(MAKE) when invoking make from make. | Carl Worth | 2009-11-12 |
| | | | | Without this, things like MAKEFLAGS=-j4 can't work. | ||
* | Implement a non-recursive make. | Carl Worth | 2009-11-10 |
The idea here is that every Makefile at each lower level will be an identical, tiny file that simply defers to a top-level make. Meanwhile, the Makefile.local file at each level is a Makefile snippet to be included at the top-level into a large, flat Makefile. As such, it needs to define its rules with the entire relative directory to each file, (typically in $(dir)). The local files can also append to variables such as SRCS and CLEAN for files to be analyzed for dependencies and to be cleaned. |