Makefile: factor out $OBJECTS
Makefile: automatically generate dependencies

Signed-off-by: Brian Norris <computersforpeace@gmail.com>