Home | History | Annotate | Download | only in testcase
      1 # Preparation: create foo.c
      2 test1:
      3 	touch foo.c exist
      4 
      5 # foo.o should match the suffix rule below.
      6 test2: foo.o
      7 
      8 %.o: %.c not_exist
      9 	echo FAIL
     10 
     11 %.o: %.c exist
     12 	echo PASS $@ $< $^
     13 
     14 %.o: %.c not_exist
     15 	echo FAIL
     16 
     17 %.o: %.cc
     18 	echo FAIL
     19