fenrock

Untitled

Sep 20th, 2021
1,495
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. csc -I ../ -O3 -c -static -J ../advents/utils.scm -unit aoc-utils -o aoc-utils.o
  4.  
  5. for i in 1 2 3 4 5 6 7; do
  6.     csc -I ../ -O3 -c -static -J aoc-utils.o -uses aoc-utils ../advents/2015/aoc2015day0${i}.scm -unit aoc2015day0${i} -o aoc2015day0${i}.o
  7. done
  8.  
  9. csc -o advent2015 -static aoc2015day01.o aoc2015day02.o aoc2015day03.o aoc2015day04.o aoc2015day05.o aoc2015day06.o aoc2015day07.o aoc-utils.o -uses aoc2015day01 -uses aoc2015day02 -uses aoc2015day03 -uses aoc2015day04 -uses aoc2015day05 -uses aoc2015day06 -uses aoc2015day07 -uses aoc-utils ../advents/2015/advent2015.scm
RAW Paste Data