summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2022-09-13 23:12:17 (GMT)
committerYann Collet <cyan@fb.com>2022-09-13 23:12:17 (GMT)
commit5799b2d4f35a37f31897805d6312998be4177681 (patch)
treeda358961758a31a68847b095e3df52c5ee042c2c
parent851ef4b23c7cbf4ceb2ba1099666a8b5ec4fa195 (diff)
downloadlz4-5799b2d4f35a37f31897805d6312998be4177681.zip
lz4-5799b2d4f35a37f31897805d6312998be4177681.tar.gz
lz4-5799b2d4f35a37f31897805d6312998be4177681.tar.bz2
document Makefile variables
-rw-r--r--lib/README.md7
1 files changed, 7 insertions, 0 deletions
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.