From 95f5059200cf5807842226b9b0dd83a06b21fecb Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Mon, 23 Dec 2019 12:33:36 +0000 Subject: [PATCH] README: Upgrade build instructions --- README.md | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 038da4a..9b0130a 100644 --- a/README.md +++ b/README.md @@ -24,32 +24,6 @@ neat. Note: This is a beta release, so the interface is not yet stable. To build just run: ``` -make +meson build +ninja -C build ``` - -### Installing -``` -make install -``` - -### Variables - * `CFLAGS`: Flags passed to the compiler. - * `LDFLAGS`: Flags passed to the linker. - * `BUILD_DIR`: Destination directory for the build. - * `PREFIX`: System prefix. Default: `/usr/local`. - * `DESTDIR`: Destination directory for install. This is used by system - package system such as dpkg, rpm and pacman. - * `PKGCONFIG`: `pkg-config` executable path. - * `STRIP`: `strip` executable path. - * `DONT_STRIP`: Set this is the installed DSO is not to be stripped of its - debugging symbols. - -### Cross-compiling -Generally, it should be enough to set `CC=-gcc` and then -run `make`, e.g.: -``` -CC=arm-linux-gnueabihf-gcc make -``` -If you have a `pkg-config` wrapper at `-pkg-config` it will be run -instead if `pkg-config`, but `pkg-config` can also be overridden by setting the -`PKGCONFIG` environment variable prior to running `make`.