diff options
| author | Bond_009 <bond.009@outlook.com> | 2022-12-01 22:30:22 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2022-12-01 22:30:22 +0100 |
| commit | baf4910870a6e8999802b9a4a22eabd4142a34e3 (patch) | |
| tree | 2d11443dc21e53bd0d99d015cf789937d6d95862 /prepare | |
| parent | 49d0c908f24b2c193c9deed1716fe36061ba26a1 (diff) | |
Move all Advent of Codes into one repo
Diffstat (limited to 'prepare')
| -rwxr-xr-x | prepare | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -1,9 +1,7 @@ -#!/usr/bin/env bash +#!/bin/sh -cd ${1#0} -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" +set -ef + +cd 2022 +./prepare "$1" "$2" +cp run ../run |
