mkfile 385 B

12345678910111213141516171819202122232425262728
  1. </$objtype/mkfile
  2. LIB=/$objtype/lib/libregexp.a
  3. OFILES=\
  4. regcomp.$O\
  5. regerror.$O\
  6. regexec.$O\
  7. regsub.$O\
  8. regaux.$O\
  9. rregexec.$O\
  10. rregsub.$O\
  11. HFILES=/sys/include/regexp.h\
  12. regcomp.h\
  13. UPDATE=\
  14. mkfile\
  15. $HFILES\
  16. ${OFILES:%.$O=%.c}\
  17. ${LIB:/$objtype/%=/386/%}\
  18. </sys/src/cmd/mksyslib
  19. test: test.$O $OFILES
  20. $LD -o test $prereq
  21. test2: test2.$O $OFILES
  22. $LD -o test2 $prereq