mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 17:40:34 +00:00
19 lines
279 B
Bash
Executable File
19 lines
279 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# find root
|
|
cd `dirname $PWD/$0` ; cd ..
|
|
|
|
ccache --help > /dev/null 2>&1
|
|
if [ $? = 0 ]; then
|
|
[ -z "${CC}" ] && CC=gcc
|
|
CC="ccache ${CC}"
|
|
export CC
|
|
fi
|
|
|
|
# build
|
|
if [ -f config-user.mk ]; then
|
|
make mrproper > /dev/null 2>&1
|
|
fi
|
|
./configure --prefix=/usr && \
|
|
make -j 4
|