Not much to say.
%.o: %.c
@echo $<
C:\Users\niklas\Desktop>make foo.o
make: *** No rule to create »foo.o«. End.
I expect it to print foo.c. Why doesn’t it work?
Note: The last line of the last block is translated from german to english, the spelling might not be exactly as the english version prints out.
Platform: Windows 7
Architecture: x86
Make Version: gnuwin32 3.81 (25. Nov 2006)
Does
foo.cexist? If not, then Make won’t consider this rule.