#!/usr/bin/env bash cd $(("$1")) file="part$2.c" if test -f "part$2_fast.c" then file="part$2_fast.c" fi clang -Wall -pedantic -O3 -march=native -mtune=native -flto -s -static -o ../run "part$2.c"