minor Makefile test refactoring

This commit is contained in:
Yann Collet 2015-04-08 09:33:57 +01:00
parent 327cb04f44
commit b41137f42a

View File

@ -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