Updated Getting Started (markdown)

Uli Kusterer 2022-10-16 14:06:12 +02:00
parent ee4da773e2
commit 489a75d1dd

@ -2,8 +2,13 @@
- Get a copy of MPW for classic MacOS ([see Wiki page](Acquiring-MPW)).
- Create a folder `~/mpw`.
- Copy the files from the `verbatim` folder in this repository into it (so you have e.g. a `~/mpw/Environment.text` file, not `~/mpw/verbatim/Environment.text`).
- Open the file `Environment.txt` with a text editor and change the `MPWVersion ?= 3.2` line to match whatever version your `MPW Shell` application shows if you choose `Get Info` on it in Finder.
- Open the file `Environment.text` with a text editor and change the `MPWVersion ?= 3.2` line to match whatever version your `MPW Shell` application shows if you choose `Get Info` on it in Finder.
- Open the `Interfaces&Libraries` folder from your copy of MPW, and copy the `Interfaces`, `Libraries`, `DebuggingLibraries` and `RuntimeLibraries` folders inside it to your `~/mpw` folder (so you have e.g. a `~/mpw/Interfaces/CIncludes` folder).
- open the `MPW` folder and copy the `Tools` folder from there to your `~/mpw` folder (so you have e.g. a `~/mpw/Tools/AboutBox` file).
- install the `mpw` tool using:
```bash
% cd build
% cmake --install .
```
Your MPW should now ready. You can now e.g. [create a Makefile that uses the `mpw` tool for building to actually build an application](https://github.com/ksherlock/mpw/wiki/Building-a-Classic-MacOS-app).
Your MPW should now be ready for use and installed in `/usr/local/bin` (and therefore in your `$PATH`). You can now e.g. [create a Makefile that uses the `mpw` tool for building to actually build an application](https://github.com/ksherlock/mpw/wiki/Building-a-Classic-MacOS-app).