summaryrefslogtreecommitdiff
path: root/Demo
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-07-10 14:35:12 +0000
committerGuido van Rossum <guido@python.org>2000-07-10 14:35:12 +0000
commitbd5878b4643170faf40eb01e59fab96417a232df (patch)
tree87dae6d55ad4a761daefbf999a29e551a078d5a3 /Demo
parentc5cc17b67278096d2e78b736f5d0f895df051a93 (diff)
downloadcpython-bd5878b4643170faf40eb01e59fab96417a232df.tar.gz
Adapted for Python 2.0 under RH Linux.
Diffstat (limited to 'Demo')
-rw-r--r--Demo/embed/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Demo/embed/Makefile b/Demo/embed/Makefile
index 898a7912f5..92f4df347c 100644
--- a/Demo/embed/Makefile
+++ b/Demo/embed/Makefile
@@ -1,15 +1,16 @@
# Makefile for embedded Python use demo.
-# (This version tailored for CNRI and Solaris; edit lines marked with XXX.)
+# (This version tailored for my Red Hat Linux 6.1 setup;
+# edit lines marked with XXX.)
# XXX The compiler you are using
CC= gcc
# XXX Top of the build tree and source tree
-blddir= ../..
+blddir= ../../linux
srcdir= ../..
# Python version
-VERSION= 1.5
+VERSION= 2.0
# Compiler flags
OPT= -g
@@ -17,10 +18,10 @@ INCLUDES= -I$(srcdir)/Include -I$(blddir)
CFLAGS= $(OPT) $(INCLUDES)
# The Python library
-LIBPYTHON= $(blddir)/libpython$(VERSION).a
+LIBPYTHON= $(blddir)/libpython$(VERSION).a
# XXX edit LIBS (in particular) to match $(blddir)/Modules/Makefile
-LIBS= -lsocket -lnsl -ldl -lreadline -ltermcap
+LIBS= -lnsl -ldl -lreadline -ltermcap -lieee -lpthread -lutil
SYSLIBS= -lm
MODLIBS=
ALLLIBS= $(LIBPYTHON) $(MODLIBS) $(LIBS) $(SYSLIBS)