Commit Graph

160 Commits

Author SHA1 Message Date
Yann Collet
7b3cd10579 reduced test time on circle-ci 2018-04-11 16:31:43 -07:00
Yann Collet
7b4c448571 added c90 test to c_standards
to catch `//` comments
2018-03-21 07:19:48 -07:00
Yann Collet
6d4e60e365 fix #481: ensure liblz4.a dependency for make all
`make all` will trigger several sub-directory makefiles.
several of them need `liblz4.a`.
When built with `-j#`, there are several concurrent liblz4.a built

Make liblz4.a a dependency, which is built once,
before moving to sub-directory Makefiles
2018-03-09 09:57:29 -08:00
Yann Collet
0ddd1ceb1d added target make check
according to GNU Makefile conventions,
the Makefile should feature a make check target
to self-test the generated program:
https://www.gnu.org/prep/standards/html_node/Standard-Targets.html .

this is much less thorough and less taxing than `make test`,
and can be run on any target in a reasonable timeframe (several seconds).
2018-02-26 14:09:46 -08:00
Yann Collet
886a485845 examples/Makefile : changed dependency order
static library *.a must come after source files *.c on linux
2018-01-31 23:17:52 -08:00
Yann Collet
5fd3ac7904 Merge branch 'dev' into frameCompress 2018-01-31 17:18:57 -08:00
Yann Collet
3b751a50c5 modified gpptest recipe 2018-01-31 17:15:02 -08:00
Yann Collet
87fb7a1d03 refactored frameCompress example
to better reflect LZ4F API usage.
2018-01-31 14:33:16 -08:00
Yann Collet
e8ee6e5965 nicer console message for make clean 2018-01-13 18:51:33 -08:00
Yann Collet
ce8393e8d7 build: minor : make lz4 doesn't compile liblz4 anymore
since it's not needed.
2017-11-06 15:20:08 -08:00
Yann Collet
01cdbfb5fe lz4c legacy commands are now enabled at runtime based on link/binary name "lz4c"
instead of selected at compilation time depending on a macro.
This design makes it possible to have a single binary which supports both modes.

An advantageous side effect is that when doing `make; make install`
no additional binary is created during `make install`
(it used to create `lz4c`, because `make` would only build `lz4`)
2017-08-14 16:56:05 -07:00
Yann Collet
aea7d521ae better respect GNU standard Makefile conventions
supports lowercase directory variables
add an "Installation" section in README.md
added an INSTALL file
2017-08-14 15:13:23 -07:00
Yann Collet
2012e4de9e fixed c_standards tests
and added entry "make list"
2017-05-10 14:51:09 -07:00
Yann Collet
b8575f2d2b updated Makefile
to automatically build manual files with
make all
2017-05-10 13:26:04 -07:00
Yann Collet
7e57c398c1 Merge pull request #316 from inikep/dev
Dev
2017-02-10 10:25:04 -08:00
Przemyslaw Skibinski
c139eb40b0 added OpenBSD NetBSD SunOS to list of supported make install OSes 2017-02-10 15:00:27 +01:00
Benedikt Heine
5e1a925bea update repolink in makefile 2017-02-10 14:55:54 +01:00
Yann Collet
04e5eaf9bc added DragonFly to list of supported make install OS 2017-02-09 03:19:15 -08:00
Przemyslaw Skibinski
489d1618c9 added "This Makefile is validated for" 2017-01-19 16:28:08 +01:00
Yann Collet
bc0839c5df minor fix for travis-install test 2016-12-21 15:00:43 +01:00
Yann Collet
385cb4f539 minor update Makefile 2016-12-21 13:18:02 +01:00
Yann Collet
913b98fd6f fix make concurrency build (#277) 2016-12-15 22:13:36 +01:00
Yann Collet
8b233b228d added a few dates 2016-11-21 15:51:39 -08:00
Yann Collet
2fe3aa9854 added examples to make all 2016-11-21 15:00:50 -08:00
Yann Collet
19df3029e2 fixed #272 (compilation fails on gcc 4.4), reported by @totaam 2016-11-18 17:56:56 -08:00
Yann Collet
ffc8c18c13 usan32 relies on default compiler (by default) 2016-11-17 19:08:41 -08:00
Yann Collet
71814a26f2 switch usan32 tests to gcc-5 2016-11-17 18:41:26 -08:00
Yann Collet
8f536a43b1 added sanitize32 tests to Travis 2016-11-17 18:08:28 -08:00
Yann Collet
279344a177 fixed Travis test cases 2016-11-17 14:02:01 -08:00
Yann Collet
1abecbc33c fix 32-bits mode.
Large File support for Mac OS-X in 32-bits mode
Fixed potential undefined behavior
Changed makefile for 32-bits mode
2016-11-17 13:02:06 -08:00
Yann Collet
5a5ebeec15 clang and g++ tests restricted to native only on Travis CI Ubuntu v12 environment 2016-11-14 08:51:28 -08:00
Yann Collet
1b24cc1155 fixed conversion warnings 2016-11-14 07:10:31 -08:00
Yann Collet
84b97f90b8 fuzzer code refactoring
fix g++ conversion warning
2016-11-12 17:14:57 -08:00
Przemyslaw Skibinski
d57d3e4b4d better MSYS/MinGW support 2016-11-10 14:43:51 +01:00
Przemyslaw Skibinski
cf8ca581d1 reordered Travis CI tests 2016-11-10 10:05:18 +01:00
Przemyslaw Skibinski
2c788b3728 joined arm and aarch64 tests 2016-11-08 12:33:01 +01:00
Przemyslaw Skibinski
d06ab4f415 test powerpc64 2016-11-08 11:16:16 +01:00
Przemyslaw Skibinski
2302649138 tests\Makefile: added test-platform 2016-11-08 10:43:18 +01:00
Przemyslaw Skibinski
c201327f14 added platformTest 2016-11-08 09:48:01 +01:00
Przemyslaw Skibinski
7fbb163f3f added "make c_standards" 2016-11-07 17:43:37 +01:00
Przemyslaw Skibinski
e06fcd9039 redefined VOID for Windows/MSYS 2016-11-04 13:32:36 +01:00
Przemyslaw Skibinski
8847faffbf updated programs/README.md 2016-11-03 16:17:38 +01:00
Przemyslaw Skibinski
e624978ea2 test programs moved to tests/ 2016-11-03 15:03:43 +01:00
Yann Collet
f173027690 moved cmake and debian directories to contrib (#245) 2016-11-01 17:29:15 -07:00
Kouhei Sutou
829941e5a8 Add missing $(EXT) to lz4 program name 2016-09-23 10:43:12 +09:00
Yann Collet
28f98647e3 lz4 version source from lz4.h 2016-09-02 22:04:16 -07:00
Yann Collet
182645ee0f lz4 as phony target 2016-08-20 23:49:36 +02:00
Yann Collet
0214638eb7 Makefile : lz4 at root 2016-08-20 23:26:33 +02:00
Martin Waschbüsch
7bfbccb972 Add FreeBSD to install targets
Add FreeBSD to install targets
2016-05-17 07:47:03 +02:00
Julius Werner
4fcb2e17fb Remove whitespace from ends of lines
I'm trying to import LZ4 code into a project with strict linting
requirements. This will make that easier.

Signed-off-by: Julius Werner <jwerner@chromium.org>
2016-02-12 22:49:52 -08:00