From: "peter a. cejchan" <pac@cejchan.gli.cas.cz>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] mk(file) question
Date: Mon, 10 Jun 2002 10:03:10 +0000 [thread overview]
Message-ID: <71652467.0206092028.14af5990@posting.google.com> (raw)
In-Reply-To: <de39561d8dadb16d6dd71ac2e39216fe@plan9.bell-labs.com>
rsc@plan9.bell-labs.com (Russ Cox) wrote in message news:<de39561d8dadb16d6dd71ac2e39216fe@plan9.bell-labs.com>...
> 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.
Thanks, Russ and Henry! Why didn't I 'invent' that myself?! ;-)
++ pac.
next prev parent reply other threads:[~2002-06-10 10:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-05 14:40 Russ Cox
2002-06-05 14:59 ` [9fans] " Henry Baragar
2002-06-10 10:03 ` peter a. cejchan [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-06-05 14:30 [9fans] " 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=71652467.0206092028.14af5990@posting.google.com \
--to=pac@cejchan.gli.cas.cz \
--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).