diff options
| -rw-r--r-- | Makefile | 3 | ||||
| -rw-r--r-- | README.md | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -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 @@ -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` |
