ref: f2de4d658507706109d42499ad445025be8b89e7
parent: 4f5d4379e2fb90fa2410fd2db3fe52933c8621e1
author: cancel <cancel@cancel.fm>
date: Sat Jan 4 17:49:27 EST 2020
Cleanup
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@
## Build
-The build script is in `bash`. It should work with `gcc` (including the `musl-gcc` wrapper) and `clang`, and will automatically detect your compiler.
+The build script, called simply `tool`, is written in `bash`. It should work with `gcc` (including the `musl-gcc` wrapper) and `clang`, and will automatically detect your compiler. You can manually specify a compiler with the `-c` option.
Currently known to build on macOS (`gcc`, `clang`) and Linux (`gcc`, `musl-gcc`, and `clang`, optionally with `LLD`), and Windows via cygwin or WSL (`gcc` or `clang`).
@@ -41,16 +41,6 @@
Mouse awareness can be disabled by adding the `--no-mouse` option.
-### Build using `make`
-
-```sh
-make release # optimized build, binary placed at build/orca
-make debug # debugging build, binary placed at build/debug/orca
-make clean # removes build/
-```
-
-The `make` wrapper will enable `--portmidi` by default. If you run the `tool` build script on its own, `--portmidi` is not enabled by default.
-
### Build using the `tool` build script
Run `./tool help` to see usage info. Examples:
@@ -73,6 +63,16 @@
./tool clean
# Same as make clean. Removes build/
```
+
+### Build using the `make` wrapper
+
+```sh
+make release # optimized build, binary placed at build/orca
+make debug # debugging build, binary placed at build/debug/orca
+make clean # removes build/
+```
+
+The `make` wrapper will enable `--portmidi` by default. If you run the `tool` build script on its own, `--portmidi` is not enabled by default.
## Run ORCΛ Livecoding Environment