diff options
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 |