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: Sam Ravnborg
Subject: Re: #include in a C file
Date: Sat, 4 Dec 2010 22:10:42 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Dec 04, 2010 at 02:00:20PM +0330, ali hagigat wrote:
> Thank you for the reply. When i was reading the section 4.13 of the
> manual, first i learned that if we use -M option,  compiler will
> generate some prerequisites for each #include of the C source file.
> But then the manual talks about having one makefile for each C source
> file. I am wondering what is the relationship of -M and having one
> makefile for every C file?

If you have 10 "gcc -m" running in parallel then you need
separate files otherwise they would try to write to the same file.

        Sam



reply via email to

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