]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add .PHONY targets, to declare targets that aren't real files.
authorGuido van Rossum <guido@python.org>
Thu, 10 Oct 2002 15:04:04 +0000 (15:04 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 10 Oct 2002 15:04:04 +0000 (15:04 +0000)
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.)

Makefile.pre.in

index 1234dd6cbe6e5784c4ca5d01197cf0c3b5f575b7..8a47d6fdbe7a65201930d76afe20bd1f9c17f02f 100644 (file)
@@ -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