[Top][All Lists]

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

-include filename does not show correct dependency errors

From: willard
Subject: -include filename does not show correct dependency errors
Date: Tue, 27 Jan 2009 20:59:52 -0800 (PST)

When using the "-include filename"(instead of just "include filename"), if
this filename includes dependencies that are missing, makefile does not show
those missing dependencies...

For example, if using:

-include foo.d

with foo.d being:

foo.o: foo.c xxx.h

Let's say xxx.h does not exist (and cannot be generated) , the make fails,
but it does not say it's because of xxx.h missing.

If instead, this is used:

include foo.d

then it works fine...

I understand that the '-' in front of include means that THIS file 'foo.d'
should not itself generate an error, but I would expect the content of foo.d
to be used normally....

Looks like a bug to me.
Btw, I am using make 3.81.

View this message in context: 
Sent from the Gnu - Make - Bugs mailing list archive at Nabble.com.

reply via email to

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