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