mirror of
https://github.com/python/cpython.git
synced 2025-11-18 01:57:37 +00:00
Adapted for Python 2.0 under RH Linux.
This commit is contained in:
parent
fb8849c4a5
commit
964f123346
1 changed files with 6 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue