From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <20020605145945.13219.qmail@a.mx.instantiated.ca> References: In-Reply-To: From: "Henry Baragar" To: 9fans@cse.psu.edu Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: [9fans] Re: mk(file) question Date: Wed, 5 Jun 2002 10:59:45 -0400 Topicbox-Message-UUID: a6315d98-eaca-11e9-9e20-41e7f4b1d025 I thought the Plan 9 way was: bind -b /usr/pac/include /sys/include Russ Cox writes: > 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. >