move style rule to main makefile