Merge pull request #2035 from yurydelendik/makemakefile

Generates proxy Makefile
This commit is contained in:
Brendan Dahl 2012-09-07 08:53:44 -07:00
commit 55ebff6059
2 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ local.mk
build/
tags
.DS_Store
Makefile

10
make.js
View File

@ -812,3 +812,13 @@ target.clean = function() {
rm('-rf', BUILD_DIR);
};
//
// make makefile
//
target.makefile = function() {
var makefileContent = 'help:\n\tnode make\n\n';
for (var i in target) {
makefileContent += i + ':\n\tnode make ' + i + '\n\n';
}
makefileContent.to('Makefile');
};