Use pattern rule in Makefile targets.