make_rule function

Creates a Makefile rule