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: Erik Rull
Subject: Re: to know the meaning of makefiles!
Date: Sat, 28 Aug 2010 11:38:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 Lightning/1.0b1 SeaMonkey/2.0.6

Maybe you're more lucky with:
http://www.google.com/search?q=multiple+makefiles

Best regards,

Erik



ali hagigat wrote:
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



_______________________________________________
Help-make mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-make





reply via email to

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