mirror of
https://github.com/python/cpython.git
synced 2025-10-15 03:10:29 +00:00
Use the build directory by default, and update the version.
This commit is contained in:
parent
1bfb388d86
commit
eb2d36c98f
1 changed files with 12 additions and 9 deletions
|
@ -11,19 +11,22 @@ LINKCC=$(PURIFY) $(CC)
|
||||||
# Optimization preferences
|
# Optimization preferences
|
||||||
OPT=-g
|
OPT=-g
|
||||||
|
|
||||||
# Where Python is installed, and which version
|
# Which Python version we're using
|
||||||
INST=/usr/local
|
VER=2.2
|
||||||
VER=2.0
|
|
||||||
|
|
||||||
# Expressions using the above definitions -- no need to change
|
# Expressions using the above definitions
|
||||||
PYVER=python$(VER)
|
PYVER=python$(VER)
|
||||||
|
|
||||||
# Use these defs when compiling against installed Python
|
# Use these defs when compiling against installed Python
|
||||||
PYC=$(INST)/lib/$(PYVER)/config
|
##INST=/usr/local
|
||||||
PYINCL=-I$(INST)/include/$(PYVER) -I$(PYC)
|
##PYC=$(INST)/lib/$(PYVER)/config
|
||||||
PYLIBS=$(PYC)/lib$(PYVER).a
|
##PYINCL=-I$(INST)/include/$(PYVER) -I$(PYC)
|
||||||
|
##PYLIBS=$(PYC)/lib$(PYVER).a
|
||||||
|
|
||||||
# Use these defs when compiling against built Python
|
# Use these defs when compiling against built Python
|
||||||
##PYINCL=-I../../Include -I../../sparc
|
PLAT=linux
|
||||||
##PYLIBS=../../sparc/lib$(PYVER).a
|
PYINCL=-I../../Include -I../../$(PLAT)
|
||||||
|
PYLIBS=../../$(PLAT)/lib$(PYVER).a
|
||||||
|
|
||||||
# Libraries to link with -- very installation dependent
|
# Libraries to link with -- very installation dependent
|
||||||
# (See LIBS= in Modules/Makefile in build tree)
|
# (See LIBS= in Modules/Makefile in build tree)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue