python: clean prebuilt core in install targets of Makefile

test2
Nguyen Anh Quynh 10 years ago
parent 35ceed7b8f
commit 58a8369067
  1. 6
      bindings/python/Makefile

@ -11,15 +11,21 @@ gen_const:
install:
rm -rf $(OBJDIR) src/
rm -rf prebuilt/win64/*.dll
rm -rf prebuilt/win32/*.dll
python setup.py build -b $(OBJDIR) install
install3:
rm -rf $(OBJDIR) src/
rm -rf prebuilt/win64/*.dll
rm -rf prebuilt/win32/*.dll
python3 setup.py build -b $(OBJDIR) install
# NOTE: Newer cython can be installed by: sudo pip install --upgrade cython
install_cython:
rm -rf $(OBJDIR) src/
rm -rf prebuilt/win64/*.dll
rm -rf prebuilt/win32/*.dll
mkdir -p $(OBJDIR)/pyx
cp setup_cython.py $(OBJDIR)
cp pyx/ccapstone* $(OBJDIR)/pyx/

Loading…
Cancel
Save