pyodide/packages/Makefile

19 lines
513 B
Makefile
Raw Normal View History

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 \
--package_abi=$(PYODIDE_PACKAGE_ABI) --ldflags="$(SIDE_LDFLAGS)" --host=$(HOSTPYTHONROOT) --target=$(TARGETPYTHONROOT) --only $(PYODIDE_PACKAGES)
update-all:
for pkg in $$(find . -maxdepth 1 -type d -exec basename {} \; | tail -n +2); do \
../bin/pyodide mkpkg "$${pkg}" --update; \
done
2018-10-05 13:26:21 +00:00
deps:
2018-11-01 20:51:49 +00:00
# Install build dependencies
$(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