pyodide/packages/Makefile

13 lines
356 B
Makefile

PYODIDE_ROOT=$(abspath ..)
include ../Makefile.envs
all: deps
../bin/pyodide buildall . ../build \
--package_abi=$(PYODIDE_PACKAGE_ABI) --ldflags="$(SIDE_LDFLAGS)" --host=$(HOSTPYTHONROOT) --target=$(TARGETPYTHONROOT) --only $(PYODIDE_PACKAGES)
deps:
# Install build dependencies
$(HOSTPYTHON) -m pip install Cython Tempita
clean:
rm -rf ./*/build