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 <[email protected]> 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
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to