qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V14 02/10] build: use check-clean in root Makefi


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH V14 02/10] build: use check-clean in root Makefile
Date: Thu, 24 Jan 2013 09:27:21 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

Il 24/01/2013 02:51, Wenchao Xia ha scritto:
>>
>> You can put the dependency in tests/Makefile.
>>
>> Paolo
>>
>   tests/Makefile would not be included, so it will directly fail.
> Actually I use this variable as a bridge between root Makefile and
> sub Makefile which would be included by root Makefile, just like
> $TOOL. In this way root Makefile can stay unchanged when new subdir
> is added, subdir's Makefile can add the step if it want been cleaned
> automatically when "make clean" is called in root dir.

What I mean is: add

    clean: check-unit

in tests/Makefile.  You don't need a variable as an intermediate step.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]