diff options
author | Yann Collet <cyan@fb.com> | 2018-09-13 21:29:41 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2018-09-13 21:29:41 (GMT) |
commit | 86023f01f207f3561766bf33a0c3d935786ae5f9 (patch) | |
tree | 66129f7c089e4e701ce99577291910e5e00aa835 /Makefile | |
parent | 4a84836c132781e12bafd5f68923c2647b34e2b7 (diff) | |
download | lz4-86023f01f207f3561766bf33a0c3d935786ae5f9.zip lz4-86023f01f207f3561766bf33a0c3d935786ae5f9.tar.gz lz4-86023f01f207f3561766bf33a0c3d935786ae5f9.tar.bz2 |
avoid final trailing comma for enum lists
as detected in #485 by @JoachimSchneider.
Refactored the c_standards tests
so that these issues get automatically detected in CI tests.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -50,10 +50,10 @@ endif default: lib-release lz4-release .PHONY: all -all: allmost manuals +all: allmost examples manuals .PHONY: allmost -allmost: lib lz4 examples +allmost: lib lz4 .PHONY: lib lib-release liblz4.a lib: liblz4.a @@ -181,10 +181,10 @@ ctocpptest: clean CC=$(TESTCC) $(MAKE) -C $(TESTDIR) CFLAGS="$(CFLAGS)" all c_standards: clean - CFLAGS="-std=c90 -Werror" $(MAKE) clean allmost - CFLAGS="-std=gnu90 -Werror" $(MAKE) clean allmost - CFLAGS="-std=c99 -Werror" $(MAKE) clean allmost - CFLAGS="-std=gnu99 -Werror" $(MAKE) clean allmost - CFLAGS="-std=c11 -Werror" $(MAKE) clean allmost + $(MAKE) clean; CFLAGS="-std=c90 -Werror -pedantic -Wno-long-long -Wno-variadic-macros" $(MAKE) allmost + $(MAKE) clean; CFLAGS="-std=gnu90 -Werror -pedantic -Wno-long-long -Wno-variadic-macros" $(MAKE) allmost + $(MAKE) clean; CFLAGS="-std=c99 -Werror -pedantic" $(MAKE) all + $(MAKE) clean; CFLAGS="-std=gnu99 -Werror -pedantic" $(MAKE) all + $(MAKE) clean; CFLAGS="-std=c11 -Werror" $(MAKE) all endif |