help-make
[Top][All Lists]
Advanced

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

Re: how to use already existing .d files


From: Philip Guenther
Subject: Re: how to use already existing .d files
Date: Thu, 5 Dec 2013 22:18:50 -0800

On Thu, Dec 5, 2013 at 9:25 PM, Swapna Pawar <address@hidden> wrote:
> Thank you for the quick response.
>
> We have already tried this by adding the following rule:
>
> %.o: %.c
>             gcc -c -x c -o "$@" $<"
>
> Modifying the rule as above does not use the existing .d files and does not 
> rebuild the .c file in case any required header is modified.
> In addition to the above rule, we also tried using '-include $(C_DEPS), not 
> no luck..

Without a complete and reproducible example, I don't see how you can
be helped by others then.


Philip Guenther



reply via email to

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