1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#! /bin/bash BIN=${BIN:-ks_dp} ${CC:-clang} -O2 -pedantic -Wall -o $BIN $BIN.c || exit 1 DATA="ks_4_0 ks_19_0 ks_30_0 ks_40_0 ks_45_0 ks_50_0 ks_50_1 ks_60_0 ks_100_0 ks_100_1 ks_100_2 ks_200_0 ks_200_1 ks_300_0 ks_400_0 ks_500_0 ks_1000_0 ks_10000_0 " for I in $DATA; do echo " *** $I $@" ./$BIN ./data/$I $@ done