While using GNU-make, my Makefile has some pattern rule as:
%.o:%.c gcc $< -o:$@
This rule is added by me.
But when I do mak
Just ran through this problem.
If this is your rule:
Make sure that you have a tab and not spaces on the second line before the gcc. Took me a couple of hours to figure out. Also no ':' after the -o flag, as somebody else pointed out.