Permalink
Browse files

Generates proxy Makefile

  • Loading branch information...
1 parent d77bafa commit f4b677a039fce969d056d0f9eed9c7e9d4dee878 @yurydelendik yurydelendik committed Aug 27, 2012
Showing with 11 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +10 −0 make.js
View
@@ -3,3 +3,4 @@ local.mk
build/
tags
.DS_Store
+Makefile
View
@@ -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');
+};

0 comments on commit f4b677a

Please sign in to comment.