-
-
Save robertwb/1f31cd554642570e80614c0c25102d75 to your computer and use it in GitHub Desktop.
Attachment make-all.patch for http://trac.cython.org/ticket/29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User Kirill Smelkov <kirr@landau.phys.spbu.ru> | |
# Date 1216803753 -14400 | |
# Node ID d4f20d32b03c441d0902c540796840c08b2861eb | |
# Parent e73528b0abee9d8d4b82aebdb435520a410dff18 | |
'make all' to build Scanners.so | |
And also clean compiled module(s) on 'make clean' | |
diff --git a/Makefile b/Makefile | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -1,10 +1,16 @@ PYTHON?=python | |
PYTHON?=python | |
+ | |
+all: local | |
+ | |
+local: | |
+ ${PYTHON} setup.py build_ext --inplace | |
clean: | |
@echo Cleaning Source | |
@rm -f *.pyc */*.pyc */*/*.pyc | |
@rm -f *~ */*~ */*/*~ | |
@rm -f core */core | |
+ @rm -f Cython/Plex/Scanners.{so,pyd} | |
@(cd Demos; $(MAKE) clean) | |
testclean: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment