extpython/src/Makefile
2019-05-31 07:43:42 -07:00

19 lines
391 B
Makefile

#!/usr/bin/make -f
PY3_SRC=./cpython/
PY3_CONFFLAGS=--prefix=$(DESTDIR)/opt/extpython/3.7 --with-ensurepip=install
all:
cd $(PY3_SRC) && \
./configure $(PY3_CONFFLAGS) && \
make -j8
install:
cd $(PY3_SRC) && \
make install
# $(DESTDIR)/opt/extpython/3.7.0/bin/python3 $(DESTDIR)/opt/extpython/3.7/bin/pip3 install -r requirements.txt
clean:
cd $(PY3_SRC) && \
make clean || true