help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-include completely turns off errors


From: Noel Yap
Subject: -include completely turns off errors
Date: Sun, 09 May 2004 09:49:28 -0400
User-agent: Mozilla Thunderbird 0.5 (Windows/20040212)

I have the following makefile:

-include foo.mk

.PHONY: all
all: foo.mk
        @echo all


Since there's no rule to create foo.mk, I'd expect the build to fail since all 
is dependent on foo.mk, but it seems that the -include turns off this error.  
Is this a bug?

Thanks,
Noel

PS
This throws a kink into the "delayed error message" workaround for "include" 
that I had proposed.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]