like 'C:/', we must make sure that there is exactly one letter before the ':', so that it is indeed a drive letter. Without these two fixes, the following two makefiles fail. ----------- Makefile 1 ----------------- all: c:/input c:/output c:/input c:/output:c:/%put:/tmp @echo $@ ---------- end of Makefile 1 ---------- Without the fix to make_file(), 'c:/%put:/tmp' would be incorrectly parsed as a single token. But it should be parsed as two tokens: 'c:/%put' and '/tmp'. (This is a static pattern rule.) ---------- Makefile2 ------------------ c:/foobar:/tmp @echo $@ -------- end of Makefile2 ------------- Without the fix to parse_file_seq(), 'c:/foobar:/tmp' would be parsed as one token, and make would complain about missing separator. git-svn-id: svn://10.0.0.236/trunk@1088 18797224-902f-48f8-a5cc-f745e15eee43
54 KiB
54 KiB