Remove .SECONDARY directive
authorMåns Rullgård <mans@mansr.com>
Wed, 10 Mar 2010 02:57:01 +0000 (02:57 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 10 Mar 2010 02:57:01 +0000 (02:57 +0000)
The presence of the .SECONDARY directive caused thing to not always
be correctly rebuilt.  Mentioning the object files explicitly as
targets gives the desired result of make not deleting them without
unpleasant side-effects.

Originally committed as revision 22422 to svn://svn.ffmpeg.org/ffmpeg/trunk

common.mak

index e868a2849cd68d08691537165ee875473bcc5da7..dbd76dbe560056e8c464eb7b65575cc3dbeb4c08 100644 (file)
@@ -66,7 +66,7 @@ uninstall: uninstall-libs uninstall-headers
 .SUFFIXES:
 
 # Do not delete intermediate files from chains of implicit rules
-.SECONDARY:
+$(OBJS):
 endif
 
 OBJS-$(HAVE_MMX) +=  $(MMX-OBJS-yes)