On Oct-06, Leopold Toetsch wrote:
> Andy Dougherty <[EMAIL PROTECTED]> wrote:
> 
> There are some changes e.g. when different CFLAGS settings are used, or
> for compiling classes. When there is a problem with compiling, just type
> another 'make' and you'll get again "Compiling with ...".

I think this may be gmake-specific, but in the past I have used

ifeq (,$(VERBOSE))
BREVITY=@
else
BREVITY=
endif

c.o:
        $(BREVITY)$(CC) $(CFLAGS)...

To make it make version independent, we could do it as

SUPPRESS=@
c.o:
        $(SUPPRESS)$(CC) $(CFLAGS)...

and then run make as 'make SUPPRESS=' when we wanted to see the
messages.

Reply via email to