automake-patches
[Top][All Lists]
Advanced

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

Nice make output


From: Jason But
Subject: Nice make output
Date: Mon, 24 Jan 2005 16:38:50 +1100
User-agent: KMail/1.7

From reading past posts, I gather that making the output of make nice is a 
touchy subject.  While I accept that eveybody has opinion, my idea of a nice 
Makefile is one which generates output something like

~me>make
    Compiling main.c
    Compiling foo.c
    Compiling bar.c
    Linking myprog
~me>

I personally do not care about compile flags or the like unless things go 
wrong.  I propose the following patches to do something similar.  My patches 
do not change the default output of make as run normally.  If the 
AM_CONDITIONAL(NICEOUTPUT, ) is set to true, then you get output as per 
above.

I have the line 

AM_CONDITIONAL(NICEOUTPUT, test "$enable_niceoutput" = yes)

in my configure.ac files and run configure with the line

./configure --enable_niceoutput

prior to running make.

Finally these patches currently only patch nice output for Linking and 
compiling C/C++ programs with gcc.  The same approach could be used to litter 
other *.am files to achieve similar type output.

Patches are attached

Suggestions? ideas? comments?

Jason

Attachment: depend2.am.diff
Description: Text Data

Attachment: header-vars.am.diff
Description: Text Data

Attachment: program.am.diff
Description: Text Data


reply via email to

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