Start of the main Makefile. Added variables and flags for LaTeX.