2018-06-20 18:54:47 +00:00
|
|
|
PYODIDE_ROOT=$(abspath ..)
|
|
|
|
include ../Makefile.envs
|
|
|
|
|
2018-10-05 13:26:21 +00:00
|
|
|
all: deps
|
2018-09-21 14:58:09 +00:00
|
|
|
../bin/pyodide buildall . ../build \
|
2020-05-08 23:28:44 +00:00
|
|
|
--package_abi=$(PYODIDE_PACKAGE_ABI) --ldflags="$(SIDE_LDFLAGS)" --host=$(HOSTPYTHONROOT) --target=$(TARGETPYTHONROOT) --only $(PYODIDE_PACKAGES)
|
2018-10-05 13:26:21 +00:00
|
|
|
deps:
|
2018-11-01 20:51:49 +00:00
|
|
|
# Install build dependencies
|
2020-07-07 14:21:33 +00:00
|
|
|
$(HOSTPYTHON) -m pip install "Cython<0.30.0" Tempita
|
2018-06-20 18:54:47 +00:00
|
|
|
|
|
|
|
clean:
|
2018-07-24 17:04:15 +00:00
|
|
|
rm -rf ./*/build
|