mkfile 451 B

123456789101112131415161718192021222324252627282930313233
  1. </$objtype/mkfile
  2. <../config
  3. TARG=postprint
  4. OFILES=postprint.$O\
  5. COMMONDIR=../common
  6. HFILES=postprint.h\
  7. $COMMONDIR/comments.h\
  8. $COMMONDIR/ext.h\
  9. $COMMONDIR/gen.h\
  10. $COMMONDIR/path.h\
  11. BIN=$POSTBIN
  12. LIB=$COMMONDIR/com.a$O
  13. </sys/src/cmd/mkone
  14. CC=pcc
  15. LD=pcc
  16. CFLAGS=-c -D$SYSTEM -D_POSIX_SOURCE -I$COMMONDIR -B
  17. install:V: $POSTLIB/postprint.ps
  18. $POSTLIB/postprint.ps: postprint.ps
  19. cp $prereq $target
  20. $LIB:
  21. cd $COMMONDIR
  22. mk install
  23. mk clean