mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-22 22:06:50 +00:00
83afc157a1
* Fix perms in sys/clang-analyzer.sh * Enhace the sys/farm/html generator
18 lines
351 B
Bash
Executable File
18 lines
351 B
Bash
Executable File
#!/bin/sh
|
|
MAKE=make
|
|
gmake --help >/dev/null 2>&1
|
|
[ $? = 0 ] && MAKE=gmake
|
|
scan-build echo >/dev/null 2>&1
|
|
[ $? = 0 ] && MAKE=gmake
|
|
|
|
# find root
|
|
cd `dirname $PWD/$0` ; cd ..
|
|
|
|
# build
|
|
if [ -f config-user.mk ]; then
|
|
${MAKE} mrproper > /dev/null 2>&1
|
|
fi
|
|
./configure --prefix=/usr && \
|
|
scan-build -o sys/clang-log ${MAKE} -j 4
|
|
echo Check ${PWD}/clang-log
|