From 9dc47c4c6cae0b8d8f159d4e754eee33dec78719 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Fri, 30 Mar 2018 13:13:04 -0400 Subject: [PATCH] Fix build so emsdk runs first --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3a5859be4..78c188c2e 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ NUMPY_LIBS=\ SITEPACKAGES=root/lib/python$(PYMINOR)/site-packages -all: emsdk/emsdk build/pyodide.asm.html build/pyodide.js +all: build/pyodide.asm.html build/pyodide.js build/pyodide.asm.html: src/main.bc src/jsimport.bc src/jsproxy.bc src/js2python.bc \ @@ -91,7 +91,7 @@ root/.built: \ touch root/.built -$(CPYTHONLIB): emsdk/emsdk +$(CPYTHONLIB): emsdk/emsdk/emsdk_env.sh make -C $(CPYTHONROOT) @@ -99,5 +99,5 @@ $(NUMPY_LIBS): $(CPYTHONLIB) make -C numpy -emsdk/emsdk: +emsdk/emsdk/emsdk_env.sh: make -C emsdk