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
You might need spaces around the : in the first line of your rule. Also, gcc does not take a colon before the output file name; just use -o $@.
:
gcc
-o $@