Added pattern rules in the Makefile