%% "PATTON, BILLY \(SBCSI\)" <[EMAIL PROTECTED]> writes:
pb> My first best try
pb> $foreach proj,${PROJECTS},
Please be careful with your syntax.
pb> Will give me the list names
pb> $(addprefix BB_,${PROJECTS})
pb> So would it be something like
pb> $(foreach proj,${PROJECTS} # to capture project name
pb> , $(foreach bb, $(addprefix BB_,${proj})) # name of list BB_<proj>
pb> , $(eval $(call dummy_template, ${bb})) # call define
pb> ) # foreach
You've got some syntax errors here.
Why don't you just try it out?
pb> If this works. Can I put comments as I have above. If I don't
pb> document this VERY well, I'll neveru figure it out 6 months from
pb> now.
You will have to use backslashes to continue the lines if you want to
put newlines in your script (this isn't C: makefiles are line-oriented).
So no, you cannot embed comments into the middle like that. You'll
have to use a block comment before the loop to describe what it does.
--
-------------------------------------------------------------------------------
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