This is hwzip 1.1 from https://www.hanshq.net/zip.html
Written by Hans Wennborg.

It is put in the public domain; see the LICENSE file for details.


To build it on a Unix-like system:

$ clang generate_tables.c && ./a.out > tables.c
$ clang -O3 -DNDEBUG -march=native -o hwzip crc32.c deflate.c huffman.c \
        hwzip.c lz77.c tables.c zip.c

To build it on Windows, in a Visual Studio Developer Command Prompt:

cl /TC generate_tables.c && generate_tables > tables.c
cl /O2 /DNDEBUG /MT /Fehwzip.exe /TC crc32.c deflate.c huffman.c hwzip.c
        lz77.c tables.c zip.c /link setargv.obj


For a very detailed description of how it works, see the URL above.


Version history:

2020-03-04      Version 1.1
                Fixed -Wextra-semi-stmt warnings reported by Horst von Brand.
                Also removed -Werror from the Makefile by default.

2020-02-25      Version 1.0
                Initial release.
