add makefile variable rules