added format and tidy to common makefile