Use the build directory by default, and update the version.
authorGuido van Rossum <guido@python.org>
Wed, 5 Sep 2001 19:51:08 +0000 (19:51 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 5 Sep 2001 19:51:08 +0000 (19:51 +0000)
Demo/pysvr/Makefile

index cb6605fa9ef92597642ffbef5ebffbf3effd7d27..b4b9f3e115024eca4ff62be9edc7069f36c1f9fe 100644 (file)
@@ -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)