%% "PATTON, BILLY \(SBCSI\)" <[EMAIL PROTECTED]> writes: pb> The CREATE variable was just for the purpose of a demo. Where the pb> values in CREATE will com from will be in parameter file passed to pb> prog_1. The Makefile will have no knowledge of what needs to be pb> built. I think I can use Tom Tromey's method of auto-dependency pb> to accomplish this.
I don't think so. That feature only works if you can generate content during one build that is not needed until the NEXT build. I doubt you have that situation: I think you need that content during the same build, unless you always have to run make twice. I suggest you read the "traditional" auto-dependency generation method in the GNU make manual. That's the model you want to follow: using automatically generated makefile snippets that contain the rules, and then including them to ensure make will regenerate them properly, then automatically re-exec itself to read them in. Before $(eval ...) this was the way all dynamic make rules were created, and it's still the best way in some situations. -- ------------------------------------------------------------------------------- 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://lists.gnu.org/mailman/listinfo/help-make
