extpython/src/Makefile

20 lines
454 B
Makefile
Raw Normal View History

2018-10-18 22:07:44 -07:00
#!/usr/bin/make -f
PY3_SRC=./cpython/
2021-06-10 19:06:17 -07:00
PY3_CONFFLAGS=--prefix=$(DESTDIR)/opt/extpython/_OPT_DIR_ --with-ensurepip=install ${EXTRA_PY_CONFIGURE_FLAGS}
2019-05-31 22:26:51 -07:00
# --enable-optimizations
2018-10-18 22:07:44 -07:00
all:
cd $(PY3_SRC) && \
./configure $(PY3_CONFFLAGS) && \
make -j8
install:
cd $(PY3_SRC) && \
2021-06-10 19:06:17 -07:00
make install -j8
2019-05-31 07:41:20 -07:00
# $(DESTDIR)/opt/extpython/3.7.0/bin/python3 $(DESTDIR)/opt/extpython/3.7/bin/pip3 install -r requirements.txt
2018-10-18 22:07:44 -07:00
clean:
cd $(PY3_SRC) && \
make clean || true