Il 16/09/2012 22:03, Mike Frysinger ha scritto:
>>> > > +ifeq ($(findstring clean,$(MAKECMDGOALS)),)
>> > 
>> > Please use instead:
>> > 
>> > ifneq ($(filter-out %clean,$(MAKECMDGOALS)),)
>> > 
>> > so that "make clean all" still gives error.
> that breaks `make` though.  or rather, `make` no longer errors out.  need to 
> make it a little more complicated to handle this.

Perhaps

MAKECMDGOALS ?= all

does it?

Paolo

Reply via email to