Plan 9's rc.

not a clear win over byron's,
but at least it has the right syntax.
This commit is contained in:
rsc 2003-11-23 18:04:08 +00:00
parent 5993a8f275
commit f08fdedcee
24 changed files with 4688 additions and 0 deletions

39
src/cmd/rc/mkfile Normal file
View file

@ -0,0 +1,39 @@
PLAN9=../../..
<$PLAN9/src/mkhdr
YACC=yacc -d
TARG=rc
OFILES=\
code.$O\
exec.$O\
getflags.$O\
glob.$O\
here.$O\
io.$O\
lex.$O\
pcmd.$O\
pfnc.$O\
simple.$O\
subr.$O\
trap.$O\
tree.$O\
var.$O\
y.tab.$O\
plan9ish.$O\
HFILES=\
rc.h\
x.tab.h\
io.h\
exec.h\
fns.h\
YFILES=syn.y
LDFLAGS=$LDFLAGS -l9 -lfmt -lutf
<$PLAN9/src/mkone
x.tab.h: y.tab.h
cmp -s x.tab.h y.tab.h || cp y.tab.h x.tab.h