From bb489cd342797b6559dfc7e1ae58f7e44e811a53 Mon Sep 17 00:00:00 2001 From: copy Date: Wed, 14 May 2014 00:20:42 +0200 Subject: [PATCH] libv86.js --- .gitignore | 1 + Makefile | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index 75daf9af..5632defb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ v86_all.js +libv86.js src/cpu.js src/v86_all.js.map src/v86_all.js.map diff --git a/Makefile b/Makefile index 9adcc1f6..37645f44 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,16 @@ src/node/v86_node.js: src/*.js src/node/*.js --js $(CORE_FILES) \ --js $(NODE_FILES) +libv86.js: src/*.js + cd src &&\ + java -jar $(CLOSURE) \ + --js_output_file "../libv86.js"\ + --define=DEBUG=false\ + --define=IN_CLOSURE=false\ + $(CLOSURE_FLAGS)\ + $(CLOSURE_READABLE)\ + --js $(CORE_FILES) + pack: rm -f ../v86-latest.tar.gz