On Wed, Jul 23, 2008 at 10:34 AM, Garrett Cooper <[EMAIL PROTECTED]> wrote: > > You'll need double the $ in defines if you're referencing variables > outside the scope of the define. > > I'd read more about second-expansion, et all in the manual. > > -Garrett
Scratch "if you're referencing variables outside the scope of the define". If you're happy with the statements being evaluated / resolved in the first-pass of the define, $ is fine. Otherwise, use $$ to defer its expansion until make gets around to the second define eval (which is what you want here). -Garrett _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
