Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- all:
- bison --yacc --defines=parser.h --output=parser.cpp grammar.y -v --report=all -rall
- flex --outfile=scanner.cpp al.l
- g++ scanner.cpp parser.cpp symbol_table.cpp -o al -std=c++11
- clean:
- @echo "rm useless files"
- @rm parser.h || true
- @rm parser.cpp || true
- @rm scanner.cpp || true
- @rm grammar.cpp || true
- @rm parser.output || true
- @rm al || true
- git_add:
- git add al.l header.h grammar.y Makefile symbol_table.cpp
- git commit -m "Debug flags"
- git push
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement