I do this:
fn build {
8c $1^.c && 8l -o $1 $1^.8 && rm $1^.8
}
acmef sieve.c # acmef opens acme with fixed-width font in one column
build sieve
sieve 2053
when I need to build a one-file program.
That's another good argument against Plan 9 that Unix users can make:
why do I have to run two programs to compile a C source code file when
Unix needed only one? I've grown used to it - build and mk help.
On Jun 30, 2008, at 11:36 AM, Charles Forsyth wrote:
For example the
role of make as an equivalent for cc is not self-evident for a
traditional normal OS-user.
come again?
i thought it meant that he always types in cc commands on unix.
of course you could do that too with 8c/8l but normally on plan 9 i
create a mkfile except for the tiniest one-off things.