add makefile snippet for local build