Currently, I'm using a Makefile to keep track of all dependencies and copilation of my project. The problem is that make simply outputs everything it's doing, and that makes it hard to spot (or even read) more important information (such as compiler warnings).
Is there a way to control what information is displayed on the terminal? I know there's a -s
option that silences make, but that's not what I want. I need something a little more refined, perhaps showing the compilation target without showing the entire compilation command.
Is there any way to control that?
Note: There's a similar question regarding the automake and autoconf commands. But I don't use those, and I'm specifically looking for something on make.
@
, please reconsider using it if you are going for a wider audience with your project. The "I hate reading compiler invocations but want some kind of progress indicator so I use @echo" point is understandable. However, if you expect anyone but you will ever compile your project, leave the full compiler lines in, or you'll be asking for the lines in bug reports and they will be hacking your Makefile to get them back. – thiton