autoconf
[Top][All Lists]
Advanced

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

Re: less verbose outputs during make


From: Thomas Dickey
Subject: Re: less verbose outputs during make
Date: Sun, 1 May 2005 16:14:22 -0400 (EDT)

On Sun, 1 May 2005, Ilkka Urtamo wrote:

Sorry if this is too simple, but I do this to only see warnings and
errors:

   make > /dev/null
Works, but not exactly what I had in mind.

Any other suggestions?

what I do is (via an autoconf macro of course) substitute an "echo" statement and a "@" at the beginning of the rules, e.g.,

.c.o :
        @echo compiling $<
        @$(CC) $(CPPFLAGS) $(CFLAGS) -c $(srcdir)/$*.c

.c.i :
        @echo compiling $<
        @$(CPP) -C $(CPPFLAGS) $*.c >$@

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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