Home | History | Annotate | Download | only in testcase
      1 srcdir := .
      2 
      3 test: foo.o bar.o
      4 	echo linking $@ from $<
      5 
      6 %.o: $(srcdir)/%.c
      7 	echo compiling $@ from $<
      8 
      9 $(srcdir)/foo.c:
     10 	echo source $@
     11 
     12 bar.c:
     13 	echo source $@
     14