mkfile (330B)
1 </$objtype/mkfile 2 3 TARG=\ 4 Markdown\ 5 Dir\ 6 Gopher\ 7 Gemini\ 8 9 HFILES=config.h 10 11 SYSLIB=/sys/lib/richterm 12 BIN=$SYSLIB/bin/$objtype 13 14 </sys/src/cmd/mkmany 15 16 RC=\ 17 richrc\ 18 19 install:V: bindir $RC 20 21 bindir:V: 22 mkdir -p $BIN 23 24 config.h: 25 cp config.def.h config.h 26 27 $RC:V: 28 mkdir -p $SYSLIB/bin/rc 29 for (i in $RC) @{ 30 cp $i $SYSLIB/bin/rc 31 }