Update Makefile with dependencies