summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-04-08 08:33:57 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-04-08 08:33:57 (GMT)
commitb41137f42a59e6636a02c61f49b67bde7876d4c4 (patch)
treecf7feecb5f940fc2e2e86e2e0f03752513173824
parent327cb04f44a650afd3907701513b1c2e851a3b45 (diff)
downloadlz4-b41137f42a59e6636a02c61f49b67bde7876d4c4.zip
lz4-b41137f42a59e6636a02c61f49b67bde7876d4c4.tar.gz
lz4-b41137f42a59e6636a02c61f49b67bde7876d4c4.tar.bz2
minor Makefile test refactoring
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 284972f..831f0d3 100644
--- a/Makefile
+++ b/Makefile
@@ -98,17 +98,17 @@ cmake:
@cd cmake_unofficial; cmake CMakeLists.txt; $(MAKE)
gpptest: clean
- export CC=g++; export CFLAGS="-O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror"; $(MAKE) -e all
+ $(MAKE) all CC=g++ CFLAGS="-O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror"
clangtest: clean
- export CFLAGS=-Werror; export CC=clang; $(MAKE) all
+ $(MAKE) all CC=clang CFLAGS="-O3 -Werror"
staticAnalyze: clean
- export CFLAGS=-g; scan-build -v $(MAKE) all
+ scan-build -v $(MAKE) all CFLAGS=-g
armtest: clean
- export CFLAGS=-Werror; export CC=arm-linux-gnueabi-gcc; cd lib; $(MAKE) -e all
- export CFLAGS=-Werror; export CC=arm-linux-gnueabi-gcc; cd programs; $(MAKE) -e bins
+ cd lib; $(MAKE) -e all CC=arm-linux-gnueabi-gcc CFLAGS="-O3 -Werror"
+ cd programs; $(MAKE) -e bins CC=arm-linux-gnueabi-gcc CFLAGS="-O3 -Werror"
streaming-examples:
cd examples; $(MAKE) -e test