I have searched this problem in google, but still don\'t have some way to resolve a problem. I have 2 Makefiles: One as example and one as my file. Example:
I had this problem if there was a colon in the target file name (i.e. a time stamp), for example:
all: foo_01:34.txt foo_%.txt: bar_%.txt foobar $< > $@
I had to escape it:
all: foo_01\:34.txt foo_%.txt: bar_%.txt foobar $< > $@