Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. all:
  2. bison --yacc --defines=parser.h --output=parser.cpp grammar.y -v --report=all -rall
  3. flex --outfile=scanner.cpp al.l
  4. g++ scanner.cpp parser.cpp symbol_table.cpp -o al -std=c++11
  5.  
  6. clean:
  7. @echo "rm useless files"
  8. @rm parser.h || true
  9. @rm parser.cpp || true
  10. @rm scanner.cpp || true
  11. @rm grammar.cpp || true
  12. @rm parser.output || true
  13. @rm al || true
  14.  
  15. git_add:
  16. git add al.l header.h grammar.y Makefile symbol_table.cpp
  17. git commit -m "Debug flags"
  18. git push
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement