[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: including files
From: |
bhaskar . g |
Subject: |
Re: including files |
Date: |
Mon, 14 Jul 2003 09:53:49 +0530 |
Hi Paul,
Thanks for the answer. I have the following problem.
I am generating a *.d file for every *.c file.
I have a rule to generate the *.d file as mentioned in the Manual.
Then in the *.d file i am generating the information as the following
*.d *.o: *.c *.h
Example:
-include dependency.d
dependency.d : src/test.c
$(run_deps)
in the dependency.d file i have the following
dependency.d test.o: src/test.c inc/test.h
Now while using the --new-file option. The dependency generation keeps looping.
Is this a known bug.
Making dependencies for test.c
Making dependencies for test.c
Making dependencies for test.c
Making dependencies for test.c
Making dependencies for test.c
regards
bhaskar
To:
Bhaskar G/BTC/SC/address@hidden
cc:
address@hidden
Subject:
Re: including files
"Paul D. Smith" <address@hidden>
Classification:
Sent by:
address@hidden
.org
07/11/2003 09:15 PM
Please respond to "Paul D. Smith"
%% address@hidden writes:
bg> I am using Make 3.79.1 on Window NT (Cygwin) and Make 3.80 on HPUX.
bg> The question is
bg> I am generating a dependency makefile during my makefile.
bg> -include dependency.d
bg> I am generating this file after the include.
bg> Does make include the information in the dependency file after it
bg> is generated.
Sort of.
After make reads all the makefiles, it tries to regenerate any that seem
out of date.
After checking all the makefiles, if any of them have actually been
regenerated, make will re-run itself from scratch. So, the next time it
runs it will read the new content.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Help-make mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-make
- including files, bhaskar . g, 2003/07/11
- Re: including files,
bhaskar . g <=