9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] mk(file) question
@ 2002-06-05 14:40 Russ Cox
  2002-06-05 14:59 ` [9fans] " Henry Baragar
  2002-06-10 10:03 ` [9fans] " peter a. cejchan
  0 siblings, 2 replies; 3+ messages in thread
From: Russ Cox @ 2002-06-05 14:40 UTC (permalink / raw)
  To: 9fans

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-10 10:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-05 14:40 [9fans] mk(file) question Russ Cox
2002-06-05 14:59 ` [9fans] " Henry Baragar
2002-06-10 10:03 ` [9fans] " peter a. cejchan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).