Compiling with "gmake" should produce less output. The compilation/linking
authorMisha Brukman <brukman+llvm@gmail.com>
Thu, 12 Sep 2002 16:05:39 +0000 (16:05 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Thu, 12 Sep 2002 16:05:39 +0000 (16:05 +0000)
commitb5f096fc5195f2f525d5573dce73ae614900e32f
treee02e71f85748e2e331ee28ce3164b2ebdbdfb1b2
parent753eb71371c956f75ba9d69b41f0b93f88df4355
Compiling with "gmake" should produce less output. The compilation/linking
flags are always the same anyway, who wants to see so much text on the
screen? Compiling with "gmake VERBOSE=1" should produce all the output
you're used to.

Basically it checks for VERBOSE being defined, and if it is, sets VERB
appropriately. VERB is then prepended in a bunch of key places such that
when VERB is "@", the command is not echoed, when VERB is not set to
anything, it's as before.

One thing I could not get rid of is "gmake[1]: Entering directory <blah>",
but running "gmake -s" suppresses it all, and shows just the interesting
stuff.

Now output (when running "gmake -s" will look something like):

<snip>
======= Linking target debug library =======
Compiling Writer.cpp
Compiling getLLVMinfo.cpp
Compiling as.cpp
Compiling dis.cpp
Compiling opt.cpp
Compiling gccas.cpp
<snip>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3686 91177308-0d34-0410-b5e6-96231b3b80d8
Makefile.common
Makefile.rules