From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom To: 9fans@cse.psu.edu, Skip Tavakkolian <9nut@9netics.com> References: <5cab44da72b47a8b7aebfcfd9bdb4dbc@9netics.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <5cab44da72b47a8b7aebfcfd9bdb4dbc@9netics.com> Subject: [9fans] mk delayed evaluation Message-Id: <20060117002301.90F1E1140E3@dexter-peak.quanstro.net> Date: Mon, 16 Jan 2006 18:23:01 -0600 Cc: Topicbox-Message-UUID: da740154-ead0-11e9-9d60-3106f5b1d025 i think this is what you want CFLAGS=-Zi -Fb %.$O: %.c $$ $CFLAGS $stem.PDB $stem.c Skip Tavakkolian <9nut@9netics.com> writes | | i'm not finding it in docs. i want to delay the evaluation of $stem | in a variable until the rule is applied; how is that done? | | example: | | CFLAGS=-Zi -Fb $stem.PDB # yes, funky MS flags | | %.$O: %.c | $CC $CFLAGS $stem.c