From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] mk(file) question
Date: Wed, 5 Jun 2002 09:40:39 -0500 [thread overview]
Message-ID: <de39561d8dadb16d6dd71ac2e39216fe@plan9.bell-labs.com> (raw)
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.
next reply other threads:[~2002-06-05 14:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-05 14:40 Russ Cox [this message]
2002-06-05 14:59 ` [9fans] " Henry Baragar
2002-06-10 10:03 ` [9fans] " peter a. cejchan
-- strict thread matches above, loose matches on Subject: below --
2002-06-05 14:30 Peter A. Cejchan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=de39561d8dadb16d6dd71ac2e39216fe@plan9.bell-labs.com \
--to=rsc@plan9.bell-labs.com \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).