Common Makefile rules for Erlang projects