adding Makefile with dependencies on headers