Guest User

Untitled

a guest
Jun 18th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. all: term check
  2.  
  3. term: term.l term.y
  4. lex term.l
  5. yacc -d -o term.tab.c term.y
  6. gcc -o term term.tab.c lex.yy.c
  7. ./term < example1 > pro1.txt
  8. ./term < example2 > pro2.txt
  9.  
  10. check: checking.c
  11. gcc -o checking checking.c
  12. ./checking
  13. clean:
  14. rm term.tab.c term.tab.h lex.yy.c term checking pro1.txt pro2.txt
  15. ~
Add Comment
Please, Sign In to add comment