diff options
Diffstat (limited to '2020/prepare')
| -rwxr-xr-x | 2020/prepare | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2020/prepare b/2020/prepare new file mode 100755 index 0000000..7e4f9e5 --- /dev/null +++ b/2020/prepare @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -ef + +day="$(printf '%02d' "$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 -o run "$day/$file" |
