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

Skip to content

Commit a88446a

Browse files
committed
Some improvements, e.g. -L/depot/... is not needed.
1 parent e0c6901 commit a88446a

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

Demo/pysvr/Makefile

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Makefile for 'pysvr' application embedding Python.
22
# Tailored for Python 1.5a3 or later.
3-
# Some details are specific to Solaris or CNRI.
3+
# Some details are specific for Solaris or CNRI.
44

5-
# Which C compiler (only set because I don't have cc here)
5+
# Which C compiler
66
CC=gcc
77

88
# Optimization preferences
@@ -14,16 +14,13 @@ VER=1.5
1414

1515
# Expressions using the above definitions -- no need to change
1616
PYVER=python$(VER)
17-
#PYC=$(INST)/lib/$(PYVER)/config
18-
PYC=../src/sparc
17+
PYC=$(INST)/lib/$(PYVER)/config
1918
PYINCL=-I$(INST)/include/$(PYVER) -I$(PYC)
2019
PYLIBS=$(PYC)/libpython1.5.a
2120

22-
# Where GNU readline is installed
23-
RLINST=/depot/gnu/plat
24-
2521
# Libraries to link with -- very installation dependent
26-
RLLIBS=-L$(RLINST)/lib -lreadline -ltermcap
22+
# (See LIBS= in Modules/Makefile in build tree)
23+
RLLIBS=-lreadline -ltermcap
2724
OTHERLIBS=-lsocket -lnsl -lpthread -ldl -lm
2825

2926
# Compilation and link flags -- no need to change normally

0 commit comments

Comments
 (0)