help-make
[Top][All Lists]
Advanced

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

Re: to know the meaning of makefiles!


From: ali hagigat
Subject: Re: to know the meaning of makefiles!
Date: Sat, 28 Aug 2010 13:08:06 +0430

I tested it Luke, i could not use several files by -f !! make is
executed for only one makefile.
How you do it?
I tested with
make -f Makefile -f Makefile2
make --file=Makefile --file=Makefile2
make --makefile=Makefile --makefile=Makefile2

none of them worked for both!!

On Sat, Aug 28, 2010 at 9:12 AM, Luke Shumaker <address@hidden> wrote:
> On Sat, 2010-08-28 at 09:02 +0430, ali hagigat wrote:
>> 3.9 How make Reads a Makefile
>> GNU make does its work in two distinct phases. During the first phase
>> it reads all the make-
>> files, included makefiles, etc. and internalizes all the variables and
>> their values, implicit and....
>> -------------------------------------------------------------------------------------------------------------------------------------
>>
>> I have copied some lines of make manual. It says: "during the first
>> phase it reads all the makefiles.... "
>> Can make command read several makefiles? Would you please give me an example?
>
> Yes, you can specify multiple files with the `-f' flag, additionally,
> this includes files that are called by `include'.
>
> ~ LukeShu
>
>



reply via email to

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