Diego Biurrun <[email protected]> writes:

> ---
>  tests/Makefile |   14 ++++++--------
>  1 files changed, 6 insertions(+), 8 deletions(-)
>
> diff --git a/tests/Makefile b/tests/Makefile
> index dba9e83..85665d9 100644
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -5,20 +5,18 @@ REFS = $(AREF) $(VREF)
>  $(VREF): avconv$(EXESUF) tests/vsynth1/00.pgm tests/vsynth2/00.pgm
>  $(AREF): avconv$(EXESUF) tests/data/asynth1.sw
>
> -tests/vsynth1/00.pgm: tests/videogen$(HOSTEXESUF)
> -     @mkdir -p tests/vsynth1
> +OBJDIRS += tests/data tests/vsynth1 tests/vsynth2
> +
> +tests/vsynth1/00.pgm: tests/videogen$(HOSTEXESUF) | tests/vsynth1
>       $(M)./$< 'tests/vsynth1/'
>
> -tests/vsynth2/00.pgm: tests/rotozoom$(HOSTEXESUF)
> -     @mkdir -p tests/vsynth2
> +tests/vsynth2/00.pgm: tests/rotozoom$(HOSTEXESUF) | tests/vsynth2
>       $(M)./$< 'tests/vsynth2/' $(SRC_PATH)/tests/lena.pnm
>
> -tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF)
> -     @mkdir -p tests/data
> +tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF) | tests/data
>       $(M)./$< $@
>
> -tests/data/asynth-16000-1.sw: tests/audiogen$(HOSTEXESUF)
> -     @mkdir -p tests/data
> +tests/data/asynth-16000-1.sw: tests/audiogen$(HOSTEXESUF) | tests/data
>       $(M)./$< $@ 16000 1
>
>  tests/data/asynth%.sw tests/vsynth%/00.pgm: TAG = GEN
> -- 

OBJDIRS is a bit of a misnomer here, but I guess that's acceptable.

Patch OK, if it makes you happy.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to