diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2018-11-26 20:14:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-26 20:14:27 (GMT) |
commit | 6689dae33ba1eb588abe3d3cb763bc5dc08878b3 (patch) | |
tree | da9ac1e6989b345830b9f95d1fef67a1a04a8790 /lib/README.md | |
parent | 0983fd61eebd5123675c5afbbe5c073080c4ca96 (diff) | |
parent | b192c86ba43b3b762e705f4cdd509da3250e1c0c (diff) | |
download | lz4-6689dae33ba1eb588abe3d3cb763bc5dc08878b3.zip lz4-6689dae33ba1eb588abe3d3cb763bc5dc08878b3.tar.gz lz4-6689dae33ba1eb588abe3d3cb763bc5dc08878b3.tar.bz2 |
Merge pull request #610 from antinucleon/bootcamp
[amalgamation] lz4frame.c
Diffstat (limited to 'lib/README.md')
-rw-r--r-- | lib/README.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/README.md b/lib/README.md index 018ce40..a705de6 100644 --- a/lib/README.md +++ b/lib/README.md @@ -42,6 +42,19 @@ Should they be nonetheless needed, it's possible to force their publication by using build macro `LZ4_PUBLISH_STATIC_FUNCTIONS`. +#### Amalgamation + +lz4 code is able to be amalgamated into a single file. +We can combine all source code in `lz4_all.c` by using following command, +``` +cat lz4.c > lz4_all.c +cat lz4hc.c >> lz4_all.c +cat lz4frame.c >> lz4_all.c +``` +and compile `lz4_all.c`. +It's necessary to include all `*.h` files present in `/lib` together with `lz4_all.c`. + + #### Windows : using MinGW+MSYS to create DLL DLL can be created using MinGW+MSYS with the `make liblz4` command. |