Re: GNU make alleged of "bug" (was: PATCH: cdrecord: avoiding scsi device numbering for ide devices)

Sam Ravnborg
2004-08-19T20:05:44Z

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