[pypy-svn] r47613 - pypy/dist/pypy/translator/c
arigo at codespeak.net
arigo at codespeak.net
Fri Oct 19 23:37:59 CEST 2007
Author: arigo
Date: Fri Oct 19 23:37:58 2007
New Revision: 47613
Modified:
pypy/dist/pypy/translator/c/genc.py
Log:
Generate a better Makefile. This one supports commands like 'make -j3 debug'.
Modified: pypy/dist/pypy/translator/c/genc.py
==============================================================================
--- pypy/dist/pypy/translator/c/genc.py (original)
+++ pypy/dist/pypy/translator/c/genc.py Fri Oct 19 23:37:58 2007
@@ -901,23 +901,23 @@
\trm -f $(OBJECTS) $(TARGET)
debug:
-\tmake CFLAGS="-g -DRPY_ASSERT"
+\t$(MAKE) CFLAGS="-g -DRPY_ASSERT"
debug_exc:
-\tmake CFLAGS="-g -DRPY_ASSERT -DDO_LOG_EXC"
+\t$(MAKE) CFLAGS="-g -DRPY_ASSERT -DDO_LOG_EXC"
debug_mem:
-\tmake CFLAGS="-g -DRPY_ASSERT -DNO_OBMALLOC"
+\t$(MAKE) CFLAGS="-g -DRPY_ASSERT -DNO_OBMALLOC"
llsafer:
-\tmake CFLAGS="-O2 -DRPY_LL_ASSERT"
+\t$(MAKE) CFLAGS="-O2 -DRPY_LL_ASSERT"
profile:
-\tmake CFLAGS="-g -pg $(CFLAGS)" LDFLAGS="-pg $(LDFLAGS)"
+\t$(MAKE) CFLAGS="-g -pg $(CFLAGS)" LDFLAGS="-pg $(LDFLAGS)"
profopt:
-\tmake CFLAGS="-fprofile-generate $(CFLAGS)" LDFLAGS="-fprofile-generate $(LDFLAGS)"
+\t$(MAKE) CFLAGS="-fprofile-generate $(CFLAGS)" LDFLAGS="-fprofile-generate $(LDFLAGS)"
\t./$(TARGET) $(PROFOPT)
\trm -f $(OBJECTS) $(TARGET)
-\tmake CFLAGS="-fprofile-use $(CFLAGS)" LDFLAGS="-fprofile-use $(LDFLAGS)"
+\t$(MAKE) CFLAGS="-fprofile-use $(CFLAGS)" LDFLAGS="-fprofile-use $(LDFLAGS)"
'''
More information about the Pypy-commit
mailing list