Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb2d36c

Browse files
committed
Use the build directory by default, and update the version.
1 parent 1bfb388 commit eb2d36c

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

Demo/pysvr/Makefile

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,22 @@ LINKCC=$(PURIFY) $(CC)
1111
# Optimization preferences
1212
OPT=-g
1313

14-
# Where Python is installed, and which version
15-
INST=/usr/local
16-
VER=2.0
14+
# Which Python version we're using
15+
VER=2.2
1716

18-
# Expressions using the above definitions -- no need to change
17+
# Expressions using the above definitions
1918
PYVER=python$(VER)
19+
2020
# Use these defs when compiling against installed Python
21-
PYC=$(INST)/lib/$(PYVER)/config
22-
PYINCL=-I$(INST)/include/$(PYVER) -I$(PYC)
23-
PYLIBS=$(PYC)/lib$(PYVER).a
21+
##INST=/usr/local
22+
##PYC=$(INST)/lib/$(PYVER)/config
23+
##PYINCL=-I$(INST)/include/$(PYVER) -I$(PYC)
24+
##PYLIBS=$(PYC)/lib$(PYVER).a
25+
2426
# Use these defs when compiling against built Python
25-
##PYINCL=-I../../Include -I../../sparc
26-
##PYLIBS=../../sparc/lib$(PYVER).a
27+
PLAT=linux
28+
PYINCL=-I../../Include -I../../$(PLAT)
29+
PYLIBS=../../$(PLAT)/lib$(PYVER).a
2730

2831
# Libraries to link with -- very installation dependent
2932
# (See LIBS= in Modules/Makefile in build tree)

0 commit comments

Comments
 (0)