From baf4910870a6e8999802b9a4a22eabd4142a34e3 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Thu, 1 Dec 2022 22:30:22 +0100 Subject: Move all Advent of Codes into one repo --- prepare | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'prepare') diff --git a/prepare b/prepare index 1702aa0..a3cd635 100755 --- a/prepare +++ b/prepare @@ -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 -- cgit v1.2.3