use pattern rules instead of suffix rules in the Makefile