From 3435cf05fb063d92e1cfa3cd7ccb71ae5f792411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 8 Nov 2015 14:52:00 +0100 Subject: Mention make local in README --- Makefile | 3 ++- README.md | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a8954b0..c0d17c0 100644 --- a/Makefile +++ b/Makefile @@ -204,5 +204,6 @@ local: dependencies standalone: dependency/sources/install-libmusl PATH=$(DEPS_BIN):$$PATH CC=musl-gcc PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR= CFLAGS=-I$(DEPS_INC)/ncursesw $(MAKE) dependencies-full PATH=$(DEPS_BIN):$$PATH CC=musl-gcc PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR= CFLAGS="--static -Wl,--as-needed -I$(DEPS_INC)/ncursesw" $(MAKE) CFLAGS_LIBS= debug + @echo Run with: VIS_PATH=. ./vis -.PHONY: all clean dist install uninstall debug profile standalone dependencies dependencies-full directories +.PHONY: all clean dist install uninstall debug profile standalone dependencies dependencies-full local diff --git a/README.md b/README.md index 9723ec8..2312d9a 100644 --- a/README.md +++ b/README.md @@ -616,7 +616,9 @@ In order to build vis you will need a C99 compiler as well as: If you want a self contained statically linked binary you can try to run `make standalone` which will attempt to download, compile -and install all of the above dependencies. +and install all of the above dependencies. `make local` will do +the same but only for libtermkey, lua and LPeg (i.e. the system +C and curses libraries are used). To build a regular dynamically linked binary using the system libraries, simply run `make` (possibly after adapting `config.mk` -- cgit v1.2.3