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
bec74843
Commit
bec74843
authored
Nov 27, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added note about "boot" implying "clobber".
Added definition TARGET=python for more flexibility.
parent
47427674
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
Misc/Makefile.pre.in
Misc/Makefile.pre.in
+11
-4
No files found.
Misc/Makefile.pre.in
View file @
bec74843
...
...
@@ -50,6 +50,10 @@
# where <prefix> is the prefix used to install Python for installdir
# (and possibly similar for exec_installdir=<exec_prefix>).
# Note: "make boot" implies "make clobber" -- it assumes that when you
# bootstrap you may have changed platforms so it removes all previous
# output files.
# If you are building your extension as a shared library (your
# Setup.in file starts with *shared*), run "make" or "make sharedmods"
# to build the shared library files. If you are building a statically
...
...
@@ -86,6 +90,9 @@ VPATH= .
# (Static) build target
TARGET
=
python
# Installed python binary (used only by boot target)
PYTHON
=
python
# Add more -I and -D options here
CFLAGS
=
$(OPT)
-I
$(INCLUDEPY)
-I
$(LIBPL)
$(DEFS)
...
...
@@ -249,9 +256,9 @@ sedscript: $(MAKEFILE)
# Bootstrap target
boot
:
clobber
VERSION
=
`
python
-c
"import sys; print sys.version[:3]"
`
;
\
installdir
=
`
python
-c
"import sys; print sys.prefix"
`
;
\
exec_installdir
=
`
python
-c
"import sys; print sys.exec_prefix"
`
;
\
VERSION
=
`
$(PYTHON)
-c
"import sys; print sys.version[:3]"
`
;
\
installdir
=
`
$(PYTHON)
-c
"import sys; print sys.prefix"
`
;
\
exec_installdir
=
`
$(PYTHON)
-c
"import sys; print sys.exec_prefix"
`
;
\
$(MAKE)
-f
$(srcdir)
/Makefile.pre.in
VPATH
=
$(VPATH)
srcdir
=
$(srcdir)
\
VERSION
=
$$
VERSION
\
installdir
=
$$
installdir
\
...
...
@@ -264,7 +271,7 @@ clean:
# Handy target to remove everything that is easily regenerated
clobber
:
clean
-
rm
-f
*
.a tags TAGS config.c Makefile.pre
python
sedscript
-
rm
-f
*
.a tags TAGS config.c Makefile.pre
$(TARGET)
sedscript
-
rm
-f
*
.so
*
.sl so_locations
...
...
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