From f4b677a039fce969d056d0f9eed9c7e9d4dee878 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Mon, 27 Aug 2012 14:17:29 -0500 Subject: [PATCH] Generates proxy Makefile --- .gitignore | 1 + make.js | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index b779eac0b..debce4dd2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ local.mk build/ tags .DS_Store +Makefile diff --git a/make.js b/make.js index a4b3f4f9e..a04c72ec4 100755 --- a/make.js +++ b/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'); +};