diff options
author | Guido van Rossum <guido@python.org> | 2002-10-10 15:04:04 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-10-10 15:04:04 (GMT) |
commit | d4f7da3cd7545d77d283cfee637f2a88385dea7a (patch) | |
tree | 780a47e3969ec8cafb83b010191142ff223e377f | |
parent | 6ce1315bd35b6114abf8a59d0e9b9f7dce0bcd7d (diff) | |
download | cpython-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.)
-rw-r--r-- | Makefile.pre.in | 8 |
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 |