lkml.org 
[lkml]   [2004]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: GNU make alleged of "bug" (was: PATCH: cdrecord: avoiding scsi device numbering for ide devices)
On Thu, Aug 19, 2004 at 09:47:24PM +0200, Matthias Andree wrote:
> # BEGIN Makefile
> all: hello
> hello.d:
> makedepend -f- hello.c >$@
> include hello.d
> # END Makefile
>
> You'll get at "make" time:
>
> Makefile:5: hello.d: No such file or directory
> makedepend -f- hello.c >hello.d
> cc hello.o -o hello
>
> and a working hello program.

Using:
-include hello.d
will result in a silent make.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean