Update readme with Make instructions
This commit is contained in:
12
README.md
12
README.md
@@ -8,18 +8,14 @@
|
|||||||
```bash
|
```bash
|
||||||
$ git clone https://github.com/wacossusca34/glava
|
$ git clone https://github.com/wacossusca34/glava
|
||||||
$ cd glava
|
$ cd glava
|
||||||
$ CFLAGS="-march=native" meson build
|
$ make
|
||||||
$ ninja -C build
|
$ sudo make install
|
||||||
$ cd build
|
|
||||||
$ sudo meson install
|
|
||||||
$ glava
|
$ glava
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: If you're using an old version of meson, and `sudo meson install` [does not work](https://github.com/wacossusca34/glava/issues/119), try running `ninja install` instead.
|
You can pass `BUILD=debug` to the makefile for debug builds of glava, and `INSTALL=standalone` to run glava directly from the `build` directory.
|
||||||
|
|
||||||
You can run `meson configure` in the project directory to get a list of available compile-time configuration options.
|
Note that versions since `v1.6.3` use Meson for the build system, although the `Makefile` will remain to work identically. Package maintainers are encouraged to use `meson build`, `ninja -C build`, and `meson install` instead of the Make wrapper.
|
||||||
|
|
||||||
You can pass `-DDEBUG` to meson for debug builds of both glad (only with `-Dglad`) and glava, `-Dstandalone` allows you to run GLava in the build directory.
|
|
||||||
|
|
||||||
**Requirements:**
|
**Requirements:**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user