[haiku-development] Re: Use jam to clean just one target?

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 19 Feb 2016 07:14:32 +0100

On Thu, Feb 18, 2016 at 02:48:13PM -0800, Michael David Crawford wrote:

I'm not very experienced with jam.  I'd like to contribute to Haiku
development but I have some things to learn.

I'm going to start by silencing warnings, there is a Trac ticket that
lists lots of components that need this, so as to enable use of
-Werror.

If I want to clean _only_ the jpeg translator, is there a jam command?

Alternatively I could delete the directory that holds the objects and
built translator.

Yes, that is the simplest wawy to go about it.

Another option is:
- First enable -Werror. Now, compiling will fail.
- Then, fix all the warnings (now errors) until it builds again.

This way, no need to clean each time, just rebuild the translator (jam
-q jpeg).

-- 
Adrien.

Other related posts: