summaryrefslogtreecommitdiffstats
path: root/Demo/pysvr
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-09-05 19:51:08 (GMT)
committerGuido van Rossum <guido@python.org>2001-09-05 19:51:08 (GMT)
commiteb2d36c98f126ce196792dc78b01157a6b2b263c (patch)
tree7f2d684fadd1af01cabdfc0fa81b035be0ffa930 /Demo/pysvr
parent1bfb388d86db61944ab8a13403b185bef931abfb (diff)
downloadcpython-eb2d36c98f126ce196792dc78b01157a6b2b263c.zip
cpython-eb2d36c98f126ce196792dc78b01157a6b2b263c.tar.gz
cpython-eb2d36c98f126ce196792dc78b01157a6b2b263c.tar.bz2
Use the build directory by default, and update the version.
Diffstat (limited to 'Demo/pysvr')
-rw-r--r--Demo/pysvr/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/Demo/pysvr/Makefile b/Demo/pysvr/Makefile
index cb6605f..b4b9f3e 100644
--- a/Demo/pysvr/Makefile
+++ b/Demo/pysvr/Makefile
@@ -11,19 +11,22 @@ LINKCC=$(PURIFY) $(CC)
# Optimization preferences
OPT=-g
-# Where Python is installed, and which version
-INST=/usr/local
-VER=2.0
+# Which Python version we're using
+VER=2.2
-# Expressions using the above definitions -- no need to change
+# Expressions using the above definitions
PYVER=python$(VER)
+
# Use these defs when compiling against installed Python
-PYC=$(INST)/lib/$(PYVER)/config
-PYINCL=-I$(INST)/include/$(PYVER) -I$(PYC)
-PYLIBS=$(PYC)/lib$(PYVER).a
+##INST=/usr/local
+##PYC=$(INST)/lib/$(PYVER)/config
+##PYINCL=-I$(INST)/include/$(PYVER) -I$(PYC)
+##PYLIBS=$(PYC)/lib$(PYVER).a
+
# Use these defs when compiling against built Python
-##PYINCL=-I../../Include -I../../sparc
-##PYLIBS=../../sparc/lib$(PYVER).a
+PLAT=linux
+PYINCL=-I../../Include -I../../$(PLAT)
+PYLIBS=../../$(PLAT)/lib$(PYVER).a
# Libraries to link with -- very installation dependent
# (See LIBS= in Modules/Makefile in build tree)