13 lines
147 B
Bash
13 lines
147 B
Bash
|
#!/bin/bash
|
||
|
set -ex
|
||
|
|
||
|
pushd "${0%/*}"
|
||
|
|
||
|
pushd c-gaborator
|
||
|
if [[ -d "build" ]]; then
|
||
|
rm -r build
|
||
|
fi
|
||
|
mkdir build
|
||
|
pushd build
|
||
|
cmake ..
|
||
|
make -j$(nproc)
|