encfs/build.sh
2017-08-08 01:54:15 -04:00

16 lines
185 B
Bash
Executable File

#!/bin/bash -eu
# Make sure we are in the directory this script is in.
cd "$(dirname "$0")"
if [[ ! -d build ]]
then
mkdir build
cd build
cmake .. $*
cd ..
fi
make -j2 -C build