[Top][All Lists]

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

Re: #include in a C file

From: ali hagigat
Subject: Re: #include in a C file
Date: Tue, 7 Dec 2010 09:13:27 +0330

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

reply via email to

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