[Python-checkins] python/dist/src Makefile.pre.in,1.99,1.100
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Thu, 10 Oct 2002 08:04:06 -0700
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv19886
Modified Files:
Makefile.pre.in
Log Message:
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.)
Index: Makefile.pre.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/Makefile.pre.in,v
retrieving revision 1.99
retrieving revision 1.100
diff -C2 -d -r1.99 -r1.100
*** Makefile.pre.in 29 Aug 2002 15:04:37 -0000 1.99
--- Makefile.pre.in 10 Oct 2002 15:04:04 -0000 1.100
***************
*** 930,932 ****
--- 930,940 ----
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