Add a default makefile for building.
Add a rule for configuring the makefile before building.