Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- all: term check
- term: term.l term.y
- lex term.l
- yacc -d -o term.tab.c term.y
- gcc -o term term.tab.c lex.yy.c
- ./term < example1 > pro1.txt
- ./term < example2 > pro2.txt
- check: checking.c
- gcc -o checking checking.c
- ./checking
- clean:
- rm term.tab.c term.tab.h lex.yy.c term checking pro1.txt pro2.txt
- ~
Add Comment
Please, Sign In to add comment