Fix a typo in mt_queue macro
Fixes make clean

rcomp and clar were switched in the directory variables
Add rebuild to Makefile
Remove generated files
Reorganize cflags in makefile
Improve makefile semantics and test handling