[FFmpeg-cvslog] r13450 - trunk/Makefile
Diego Biurrun
diego
Tue May 27 16:45:46 CEST 2008
On Tue, May 27, 2008 at 03:32:43PM +0100, M?ns Rullg?rd wrote:
> Diego Biurrun <diego at biurrun.de> writes:
>
> > On Tue, May 27, 2008 at 01:34:44PM +0100, M?ns Rullg?rd wrote:
> >> diego <subversion at mplayerhq.hu> writes:
> >>
> >> > Log:
> >> > Simplify phony target declaration.
> >> >
> >> > --- trunk/Makefile (original)
> >> > +++ trunk/Makefile Tue May 27 02:32:26 2008
> >> > @@ -341,8 +341,6 @@ tests/seek_test$(EXESUF): tests/seek_tes
> >> >
> >> > -.PHONY: lib videohook documentation TAGS
> >> > -.PHONY: codectest libavtest seektest servertest fulltest test
> >> > -.PHONY: $(CODEC_TESTS) $(LAVF_TESTS) regtest-ref swscale-error
> >> > +.PHONY: lib videohook documentation TAGS *test regtest-* swscale-error
> >>
> >> make doesn't work like that.
> >
> > Elaborate. It works as intended here ...
>
> It works by accident, because there are no files with those names.
> You can't use wildcards in prerequisite lists.
This does not seem to apply to phony target declarations.
Try adding
foobar:
touch some_file
.PHONY: foo*
to the Makefile. It works as expected even if you do a 'touch foobar'
in between...
Diego
More information about the ffmpeg-cvslog
mailing list