]> git.ipfire.org Git - thirdparty/zstd.git/commit
automatically detect configuration changes
authorYann Collet <yann.collet.73@gmail.com>
Thu, 22 Oct 2020 02:22:45 +0000 (19:22 -0700)
committerYann Collet <yann.collet.73@gmail.com>
Thu, 22 Oct 2020 02:22:45 +0000 (19:22 -0700)
commitd0436b2a454f39979ef506be152c597707d7243c
tree9fd812c32e70b8fed291bea2518c22af08a157cd
parent8a453a34c57d2097bf499fb81446e90636851f86
automatically detect configuration changes

Makefile now automatically detects modifications of compilation flags,
and produce object files in directories dedicated to this compilation flags.
This makes it possible, for example, to compile libzstd with different DEBUGLEVEL.
Object files sharing the same configration will be generated into their dedicated directories.

Also : new compilation variables
- DEBUGLEVEL : select the debug level (assert & traces) inserted during compilation (default == 0 == release)
- HASH : select a hash function to differentiate configuration (default == md5sum)
- BUILD_DIR : skip the hash stage, store object files into manually specified directory
lib/Makefile