On Thu, Dec 5, 2013 at 9:25 PM, Swapna Pawar <[email protected]> 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

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to