Right here I got sick of specifying all of the .o files so I used the $? thing from Make. Seems to work.