Makefile: separate compile/link

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