1test: foo.o 2 3foo.o: %.o: %.c 4 5foo.o: foo.%: bar.% 6 7foo.o: foo.h 8 cp $< $@ 9 10foo.h foo.c bar.o: 11 touch $@ 12