A simulation of make in Linux for learning.Instead of "makefile", it uses "wmakefile".
A blog (in Chinese) about how to develop it:http://www.cnblogs.com/wuyuegb2312/p/3433931.html
- Deal with at most MAXCOMMAND lines of command after each target line.
- File dependency is transformed to a directed graph, which can run a dfs algorithm to detective a cycle in it.
- Use hash table for graph.
- Support 'wmake clean'.
- Don't support variables.
- folder 'wmake_sample' for test.
Update:
2013
11.22
-Increased the number of command lines supprot from only one to a macro definition MAXCOMMAND.
-Support new format in wmakefile, there can be any number of space between the ':' in a dependency line.
-Instead of a .zip file, use case now is a whole folder.
11.18
-First version.