2018-04-02 17:06:36 +00:00
|
|
|
all: emsdk/emsdk
|
2018-03-30 17:08:06 +00:00
|
|
|
|
2018-04-02 17:06:36 +00:00
|
|
|
emsdk/emsdk:
|
2018-03-30 17:08:06 +00:00
|
|
|
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
|