diff options
author | rsc <devnull@localhost> | 2003-11-23 18:04:08 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2003-11-23 18:04:08 +0000 |
commit | f08fdedcee12c06e3ce9ac9bec363915978e8289 (patch) | |
tree | d67a27473be1e8f98d3694028104d9ddf915345b /src/cmd/rc/mkfile | |
parent | 5993a8f2756bc455101a8c9ce95347d5050e7883 (diff) | |
download | plan9port-f08fdedcee12c06e3ce9ac9bec363915978e8289.tar.gz plan9port-f08fdedcee12c06e3ce9ac9bec363915978e8289.tar.bz2 plan9port-f08fdedcee12c06e3ce9ac9bec363915978e8289.zip |
Plan 9's rc.
not a clear win over byron's,
but at least it has the right syntax.
Diffstat (limited to 'src/cmd/rc/mkfile')
-rw-r--r-- | src/cmd/rc/mkfile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/cmd/rc/mkfile b/src/cmd/rc/mkfile new file mode 100644 index 00000000..cc476973 --- /dev/null +++ b/src/cmd/rc/mkfile @@ -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 |