aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-11-08 14:52:00 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-11-08 14:57:45 +0100
commit3435cf05fb063d92e1cfa3cd7ccb71ae5f792411 (patch)
tree0e847b1ecac20f91f456db4cf42dcd7b9c5ae214
parent172bee98411bdc6be58428612ce8c826a1dbcd9a (diff)
downloadvis-3435cf05fb063d92e1cfa3cd7ccb71ae5f792411.tar.gz
vis-3435cf05fb063d92e1cfa3cd7ccb71ae5f792411.tar.xz
Mention make local in README
-rw-r--r--Makefile3
-rw-r--r--README.md4
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`