mirror of https://github.com/pyodide/pyodide.git
17 lines
448 B
Makefile
17 lines
448 B
Makefile
|
all: emsdk/emsdk_env.sh
|
||
|
|
||
|
emsdk/emsdk_env.sh:
|
||
|
git clone https://github.com/juj/emsdk.git
|
||
|
( \
|
||
|
cd emsdk ; \
|
||
|
./emsdk install --build=Release sdk-incoming-64bit binaryen-master-64bit ; \
|
||
|
cd .. ; \
|
||
|
(cat patches/*.patch | patch -p1) ; \
|
||
|
cd emsdk ; \
|
||
|
./emsdk install --build=Release sdk-incoming-64bit binaryen-master-64bit ; \
|
||
|
./emsdk activate --embedded --build=Release sdk-incoming-64bit binaryen-master-64bit \
|
||
|
)
|
||
|
|
||
|
clean:
|
||
|
rm -rf emsdk
|