mkfile 269 B

1234567891011121314151617181920
  1. </$objtype/mkfile
  2. OFILES=\
  3. disk.$O\
  4. proto.$O\
  5. scsi.$O\
  6. HFILES=/sys/include/disk.h
  7. LIB=/$objtype/lib/libdisk.a
  8. UPDATE=\
  9. mkfile\
  10. $HFILES\
  11. ${OFILES:%.$O=%.c}\
  12. ${LIB:/$objtype/%=/386/%}\
  13. </sys/src/cmd/mksyslib
  14. $O.test: test.$O $LIB
  15. $LD -o $target test.$O $LIB