From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Russ Cox" To: 9fans@cse.psu.edu Subject: Re: [9fans] mk(file) question MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Wed, 5 Jun 2002 09:40:39 -0500 Topicbox-Message-UUID: a62949a0-eaca-11e9-9e20-41e7f4b1d025 you don't tell mk, you tell the compiler. the default mkfiles compile with $CC $CFLAGS $stem.c so you can add CFLAGS=$CFLAGS -I/usr/pac/include and similarly LDFLAGS=-L/usr/pac/$objtype/lib look at /sys/src/cmd/mkone for the rules being used. there's no builtin magic.