build: Makefile for proper dependency tracking for the generated files