Combine script more robust and can output to a specified file. Initial buck files added (work in progress).
Single File Zstandard Decompression Library
Create the file using the shell script:
cd zstd/contrib/declib
./combine.sh -r ../../lib -r ../../lib/common -r ../../lib/decompress -o zstddeclib.c zstddeclib-in.c
Then add the resulting file to your project (see the test sources for examples).