#!/bin/sh if [ "$1" = "--clean" ]; then echo "Cleaning build directory..." rm -rf build/* fi ( cd build || exit 1 cmake .. make )