New makefile

This is the makefile that currently works on GAUL. I'll implement pattern rules and that sort of thing later; I just wanted to get something working first!