summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-10-10 15:04:04 (GMT)
committerGuido van Rossum <guido@python.org>2002-10-10 15:04:04 (GMT)
commitd4f7da3cd7545d77d283cfee637f2a88385dea7a (patch)
tree780a47e3969ec8cafb83b010191142ff223e377f /Makefile.pre.in
parent6ce1315bd35b6114abf8a59d0e9b9f7dce0bcd7d (diff)
downloadcpython-d4f7da3cd7545d77d283cfee637f2a88385dea7a.zip
cpython-d4f7da3cd7545d77d283cfee637f2a88385dea7a.tar.gz
cpython-d4f7da3cd7545d77d283cfee637f2a88385dea7a.tar.bz2
Add .PHONY targets, to declare targets that aren't real files.
Immediate benefit: when you use "make -t" to avoid a global recompile after a trivial header file touchup, Make will no longer create files named all, oldsharedmods, and sharedmods. (Not sure if I tracked down all such targets. Not sure if I care.)
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 1234dd6..8a47d6f 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -929,4 +929,12 @@ funny:
Python/thread.o: @THREADHEADERS@
+# Declare targets that aren't real files
+.PHONY: all sharedmods oldsharedmods test quicktest memtest
+.PHONY: install altinstall oldsharedinstall bininstall altbininstall
+.PHONY: maninstall libinstall inclinstall libainstall sharedinstall
+.PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
+.PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
+.PHONY: recheck autoconf clean clobber distclean smelly funny
+
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY