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.)
This commit is contained in:
Guido van Rossum 2002-10-10 15:04:04 +00:00
parent 6ce1315bd3
commit d4f7da3cd7
1 changed files with 8 additions and 0 deletions

View 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