From 5799b2d4f35a37f31897805d6312998be4177681 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Tue, 13 Sep 2022 16:12:17 -0700 Subject: document Makefile variables --- lib/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/README.md b/lib/README.md index 94e0161..c1e7b1e 100644 --- a/lib/README.md +++ b/lib/README.md @@ -119,6 +119,13 @@ The following build macro can be selected to adjust source code behavior at comp either on stack (default, value 0) or using heap memory (value 1). +#### Makefile variables + +The following `Makefile` variables can be selected to alter the profile of produced binaries : +- `BUILD_SHARED` : generate `libzstd` dynamic library (enabled by default) +- `BUILD_STATIC` : generate `libzstd` static library (enabled by default) + + #### Amalgamation lz4 source code can be amalgamated into a single file. -- cgit v0.12