Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
964f1233
Commit
964f1233
authored
Jul 10, 2000
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapted for Python 2.0 under RH Linux.
parent
fb8849c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
Demo/embed/Makefile
Demo/embed/Makefile
+6
-5
No files found.
Demo/embed/Makefile
View file @
964f1233
# Makefile for embedded Python use demo.
# 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
# XXX The compiler you are using
CC
=
gcc
CC
=
gcc
# XXX Top of the build tree and source tree
# XXX Top of the build tree and source tree
blddir
=
../..
blddir
=
../..
/linux
srcdir
=
../..
srcdir
=
../..
# Python version
# Python version
VERSION
=
1.5
VERSION
=
2.0
# Compiler flags
# Compiler flags
OPT
=
-g
OPT
=
-g
...
@@ -17,10 +18,10 @@ INCLUDES= -I$(srcdir)/Include -I$(blddir)
...
@@ -17,10 +18,10 @@ INCLUDES= -I$(srcdir)/Include -I$(blddir)
CFLAGS
=
$(OPT)
$(INCLUDES)
CFLAGS
=
$(OPT)
$(INCLUDES)
# The Python library
# The Python library
LIBPYTHON
=
$(blddir)
/libpython
$(VERSION)
.a
LIBPYTHON
=
$(blddir)
/libpython
$(VERSION)
.a
# XXX edit LIBS (in particular) to match $(blddir)/Modules/Makefile
# XXX edit LIBS (in particular) to match $(blddir)/Modules/Makefile
LIBS
=
-l
socket
-lnsl
-ldl
-lreadline
-ltermcap
LIBS
=
-l
nsl
-ldl
-lreadline
-ltermcap
-lieee
-lpthread
-lutil
SYSLIBS
=
-lm
SYSLIBS
=
-lm
MODLIBS
=
MODLIBS
=
ALLLIBS
=
$(LIBPYTHON)
$(MODLIBS)
$(LIBS)
$(SYSLIBS)
ALLLIBS
=
$(LIBPYTHON)
$(MODLIBS)
$(LIBS)
$(SYSLIBS)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment