Note.
Makefile in the root directory is for tiger compiler.
Makefile for reverse-polish is in reverse-polish directory.
reverse-polish/ -> contains reverse-polish lab files
src/ -> contains tiger compiler files
src/graph -> contains lab 7 graph structure
src/ir -> contains lab 5 tree ir files
src/source -> contains parser, lexer and abstract syntax tree of Tiger.
src/target -> contains files of MIPS, Temp Structure, Translator and Block Structure.
$ make
$ ./tc ./tests/a.tig
$ ./tc ./tests/b.tig