Generates proxy Makefile
This commit is contained in:
parent
d77bafa678
commit
f4b677a039
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ local.mk
|
||||
build/
|
||||
tags
|
||||
.DS_Store
|
||||
Makefile
|
||||
|
10
make.js
10
make.js
@ -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…
Reference in New Issue
Block a user