[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -include filename does not show correct dependency errors
From: |
Philip Guenther |
Subject: |
Re: -include filename does not show correct dependency errors |
Date: |
Tue, 27 Jan 2009 21:07:15 -0800 |
On Tue, Jan 27, 2009 at 8:59 PM, willard <address@hidden> wrote:
> 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.
Well, what _does_ it say? When I set up things to match your
description, it mentions xxx.h for me:
$ ls
Makefile foo.c foo.d
$ cat Makefile
all: foo
-include foo.d
$ cat foo.d
foo.o: foo.c xxx.h
$ make
make: *** No rule to make target `xxx.h', needed by `foo.o'. Stop.
$ make --version | head -1
GNU Make 3.81
Philip Guenther
- -include filename does not show correct dependency errors, willard, 2009/01/28
- Re: -include filename does not show correct dependency errors,
Philip Guenther <=
- Re: -include filename does not show correct dependency errors, willard, 2009/01/28
- Re: -include filename does not show correct dependency errors, Philip Guenther, 2009/01/28
- Re: -include filename does not show correct dependency errors, willard, 2009/01/28
- Re: -include filename does not show correct dependency errors, Philip Guenther, 2009/01/28
- Re: -include filename does not show correct dependency errors, willard, 2009/01/28
- Re: -include filename does not show correct dependency errors, Paul Smith, 2009/01/28