From 2383a17afbbe450b04b2e8aefe4a223643f28915 Mon Sep 17 00:00:00 2001 From: copy Date: Mon, 18 Jul 2016 00:42:12 +0200 Subject: [PATCH] Fix closure compiler download --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6eb351d7..df5f689c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -CLOSURE=closure-compiler/compiler.jar +CLOSURE_DIR=closure-compiler +CLOSURE=$(CLOSURE_DIR)/compiler.jar BROWSER=chromium all: build/v86_all.js @@ -129,8 +130,10 @@ update_version: $(CLOSURE): - wget -P closure-compiler http://dl.google.com/closure-compiler/compiler-latest.zip - unzip -d closure-compiler closure-compiler/compiler-latest.zip compiler.jar + wget -P $(CLOSURE_DIR) http://dl.google.com/closure-compiler/compiler-latest.zip + unzip -d closure-compiler $(CLOSURE_DIR)/compiler-latest.zip \*.jar + mv $(CLOSURE_DIR)/*.jar $(CLOSURE) + rm $(CLOSURE_DIR)/compiler-latest.zip test: build/libv86.js ./tests/full/run.js