How I stop make from saying make: Nothing to be done for 'all'.
or make: 'file' is up to date
? I'd like my build to be silent when it's not doing anything - there are other places where echo
is called to track build progress, so this message is just cluttering things up. I am currently silencing it like this:
all: dependency1 dependency2
@:
Something tells me there must be a better way. Any ideas?
Edit:
I would like to keep command echo working when it does need to build something, however. A good example of what I'm hoping for is along the lines of --no-print-directory
, but I can't find any other flags to shut up selected messages.