summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-11-08 09:43:18 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-11-08 09:43:18 (GMT)
commit2302649138b58c1981ede7c117c098a03b34fb8d (patch)
treea3c4e479d3422e7b88fd7cd7b86600b53d8b8342 /Makefile
parentc201327f14debdec7572f297eeae195c510e6a9f (diff)
downloadlz4-2302649138b58c1981ede7c117c098a03b34fb8d.zip
lz4-2302649138b58c1981ede7c117c098a03b34fb8d.tar.gz
lz4-2302649138b58c1981ede7c117c098a03b34fb8d.tar.bz2
tests\Makefile: added test-platform
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index c54a4b1..8f32efe 100644
--- a/Makefile
+++ b/Makefile
@@ -97,13 +97,13 @@ gpptest: clean
$(MAKE) all CC=g++ CFLAGS="-O3 -I../lib -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror"
c_standards: clean
- $(MAKE) all CFLAGS="-std=gnu90"
+ $(MAKE) all MOREFLAGS="-std=gnu90 -Werror"
$(MAKE) clean
- $(MAKE) all CFLAGS="-std=c99"
+ $(MAKE) all MOREFLAGS="-std=c99 -Werror"
$(MAKE) clean
- $(MAKE) all CFLAGS="-std=gnu99"
+ $(MAKE) all MOREFLAGS="-std=gnu99 -Werror"
$(MAKE) clean
- $(MAKE) all CFLAGS="-std=c11"
+ $(MAKE) all MOREFLAGS="-std=c11 -Werror"
$(MAKE) clean
clangtest: clean
@@ -116,9 +116,10 @@ staticAnalyze: clean
scan-build --status-bugs -v $(MAKE) all CFLAGS=-g
platformTest: clean
- $(MAKE) -C $(LZ4DIR) all CFLAGS="-Werror -static -O3 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith"
- $(MAKE) -C $(PRGDIR) bins CFLAGS="-Werror -static -O3 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith"
- $(MAKE) -C $(TESTDIR) bins CFLAGS="-Werror -static -O3 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith"
+ $(MAKE) -C $(LZ4DIR) all MOREFLAGS="-Werror"
+ $(MAKE) -C $(PRGDIR) bins MOREFLAGS="-Werror -static"
+ $(MAKE) -C $(TESTDIR) bins MOREFLAGS="-Werror -static"
+ $(MAKE) -C $(TESTDIR) test-platform
versionsTest: clean
$(MAKE) -C $(TESTDIR) $@