Generates proxy Makefile

This commit is contained in:
Yury Delendik 2012-08-27 14:17:29 -05:00
parent d77bafa678
commit f4b677a039
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

@ -789,3 +789,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');
};