[pypy-svn] r78665 - pypy/trunk/pypy/translator/c
arigo at codespeak.net
arigo at codespeak.net
Wed Nov 3 13:29:05 CET 2010
Author: arigo
Date: Wed Nov 3 13:29:04 2010
New Revision: 78665
Modified:
pypy/trunk/pypy/translator/c/genc.py
Log:
Add a special rule to the Makefile preventing it to delete .s files
whenever we press Ctrl-C.
Modified: pypy/trunk/pypy/translator/c/genc.py
==============================================================================
--- pypy/trunk/pypy/translator/c/genc.py (original)
+++ pypy/trunk/pypy/translator/c/genc.py Wed Nov 3 13:29:04 2010
@@ -626,6 +626,7 @@
python + '$(PYPYDIR)/translator/c/gcc/trackgcroot.py -m$(PYPY_MAIN_FUNCTION) -t $< > $*.gcmap')
mk.rule('gcmaptable.s', '$(GCMAPFILES)',
python + '$(PYPYDIR)/translator/c/gcc/trackgcroot.py $(GCMAPFILES) > $@')
+ mk.rule('.PRECIOUS', '%.s', "# don't remove .s files if Ctrl-C'ed")
else:
mk.definition('DEBUGFLAGS', '-O1 -g')
More information about the Pypy-commit
mailing list