[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to make not output anything for empty command target
From: |
Paul Smith |
Subject: |
Re: how to make not output anything for empty command target |
Date: |
Fri, 13 Nov 2009 19:37:33 -0500 |
On Fri, 2009-11-13 at 13:22 -0800, Mark Galeck (CW) wrote:
> When I do
>
> >make foobar
>
> make still says “nothing to be done”. How do I arrange the target, so
> make does not say anything at all when it encounters it?
Make will always say "nothing to be done" for the goal of the build,
whether that goal is provided on the command line (e.g., "make foobar")
or it's the default goal provided in the makefile.
There is no way to avoid this [*]
[*] Of course, make is open source so actually there's _always_ a way.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist