From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <0426ebbb80d1df943785d2e2f2821bb3@9netics.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] mk delayed evaluation Date: Mon, 16 Jan 2006 17:33:01 -0800 From: Skip Tavakkolian <9nut@9netics.com> In-Reply-To: <20060117002301.90F1E1140E3@dexter-peak.quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: da796036-ead0-11e9-9d60-3106f5b1d025 i'm sure i don't want that. there are many more params in CFLAGS and remembering which one should be last is a hack; as is having to change the rules every time i want to exclude the '-Fb $stem.PDB' > 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