Scan parsing in C. Removed debug. Makefile improvements.