Skip to content

vvy/wmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple simulation of make in Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages