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