becs/build.sh

10 lines
138 B
Bash
Executable file

# Build script for BECS
if [[ ! -d ./build ]]; then
mkdir "./build"
fi
pushd "./build"
gcc -g -std=c89 "../test/main.c" -o main.c
popd