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/[EMAIL PROTECTED]
cc: [EMAIL
PROTECTED]
Subject: Re:
including files
"Paul D. Smith" <[EMAIL PROTECTED]>
Classification:
Sent by:
[EMAIL PROTECTED]
.org
07/11/2003 09:15 PM
Please respond to "Paul D. Smith"
%% [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make
