pyodide/emsdk/Makefile

17 lines
434 B
Makefile

all: emsdk/emsdk
emsdk/emsdk:
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