mkfile 461 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. </$objtype/mkfile
  2. TARG=grap
  3. OFILES=\
  4. grap.$O\
  5. grapl.$O\
  6. main.$O\
  7. input.$O\
  8. print.$O\
  9. frame.$O\
  10. for.$O\
  11. coord.$O\
  12. ticks.$O\
  13. plot.$O\
  14. label.$O\
  15. misc.$O\
  16. HFILES=grap.h\
  17. y.tab.h\
  18. YFILES=grap.y\
  19. LFILES=grapl.lx\
  20. BIN=/$objtype/bin
  21. </sys/src/cmd/mkone
  22. CC=pcc
  23. LD=pcc
  24. YFLAGS = -d -S
  25. CFLAGS=-FTV -c
  26. grap.c: y.tab.c
  27. mv $prereq $target
  28. grapl.c: $LFILES
  29. $LEX -t $prereq > $target
  30. clean:V:
  31. rm -f [$OS].out *.[$OS] y.tab.? lex.yy.c grapl.c grap.c grap