我试图运行以下makefile:
all:
chmod +x codeWriter.py
chmod +x parser.py
chmod +x vmTranslator.py
chmod +x VMtranslator
tar:
tar cvf project7.tar README Makefile *.py VMtranslator
clean:
rm -f *.tar *.pyc os* sys*
但由于某些未知原因,我收到了这些错误:
line 1: all:: command not found
chmod: codeWriter.py: No such file or directory
chmod: parser.py: No such file or directory
chmod: vmTranslator.py: No such file or directory
chmod: VMtranslator: No such file or directory
line 7: tar:: command not found
tar: README: Cannot stat: No such file or directory
tar: Makefile: Cannot stat: No such file or directory
tar: *.py: Cannot stat: No such file or directory
tar: VMtranslator: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
知道为什么吗?
谢谢!