help-make
[Top][All Lists]
Advanced

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

Re: #include in a C file


From: Noel David Torres Taño
Subject: Re: #include in a C file
Date: Tue, 7 Dec 2010 07:54:38 +0000
User-agent: KMail/1.13.5 (Linux/2.6.32-5-amd64; KDE/4.4.5; x86_64; ; )

On Martes 07 Diciembre 2010 05:43:27 ali hagigat escribió:
> Does the following makefile suffice to resolve the problem of adding
> rules to show the dependency of main.c and its header files?
> 
> -include main.d
> main.o: main.c
>      gcc -MD -o main.o main.c
> 


No. Try it and you will see why.



reply via email to

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