install.mpw

来自「本工具提供一个词法分析器和语法分析器的集成开发环境」· MPW 代码 · 共 81 行

MPW
81
字号
# Note: this script assumes that your MPW and PCCTS directories are#       of a standard configuration.# To install PCCTS: 'Set Directory' to the directory containing this# file (should be the main PCCTS directory) and execute this script.## By default, it will install ANTLR and DLG in your {MPW}Tools folder.## ANTLR and DLG have Commando interfaces, check them out.## Report MPW-Specific problems to Scott Haney at haney@random.llnl.gov.Echo "# `Date -t` ----- Building PCCTS v1.33 for MPW."# Make 'Macintosh' folders to hold object files.Echo "# `Date -t` -----   Making Object File Folders."If (!`exists :dlg:Macintosh:`)  NewFolder :dlg:Macintosh:EndIf (!`exists :antlr:Macintosh:`)  NewFolder :antlr:Macintosh:EndIf (!`exists :support:set:Macintosh:`)  NewFolder :support:set:Macintosh:EndIf (!`exists :support:sym:Macintosh:`)  NewFolder :support:sym:Macintosh:EndEcho "# `Date -t` -----   Done."Echo "#"# DLG build commandsEcho "# `Date -t` -----   Building DLG."Echo "# `Date -t` -----     Analyzing dependencies."Directory :dlg:Begin	If (!`exists dlg.make`)		Move -y makefile.mpw dlg.make	End	If (!`exists dlg.r`)		Move -y dlg.mpw.r dlg.r	End	Echo "Set Echo 1"	Make Install -f dlg.makeEnd > dlg.makeoutEcho "# `Date -t` -----     Executing build commands."dlg.makeoutDelete dlg.makeoutEcho "# `Date -t` -----   Done."Echo "#"Directory ::# ANTLR build commandsEcho "# `Date -t` -----   Building ANTLR."Echo "# `Date -t` -----     Analyzing dependencies."Directory :antlr:Begin	If (!`exists antlr.make`)		Move -y makefile.mpw antlr.make	End	If (!`exists antlr.r`)		Move -y antlr.mpw.r antlr.r	End	Echo "Set Echo 1"	Make Install -f antlr.makeEnd > antlr.makeoutEcho "# `Date -t` -----     Executing build commands."antlr.makeoutDelete antlr.makeoutEcho "# `Date -t` -----   Done."Echo "#"Directory ::# DoneEcho "# `Date -t` ----- Done Building PCCTS v1.33. Have a nice day."

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?