Browse Source

Generates proxy Makefile

Yury Delendik 13 years ago
parent
commit
f4b677a039
  1. 1
      .gitignore
  2. 10
      make.js

1
.gitignore vendored

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

10
make.js

@ -789,3 +789,13 @@ target.clean = function() { @@ -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');
};

Loading…
Cancel
Save