aboutsummaryrefslogtreecommitdiff
path: root/utils/genmovecode.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xutils/genmovecode.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/genmovecode.sh b/utils/genmovecode.sh
index 2e4040b..daf268e 100755
--- a/utils/genmovecode.sh
+++ b/utils/genmovecode.sh
@@ -1,9 +1,9 @@
1#!/bin/sh 1#!/bin/sh
2 2
3gcc -DDEBUG h48_to_lst.c ../src/cube.c -o h48_to_lst 3cc -DDEBUG h48_to_lst.c ../src/cube.c -o h48_to_lst
4 4
5gen() { 5gen() {
6 for f in cubse/move_??_*.txt; do 6 for f in cubes/move_??_*.txt; do
7 move="$(echo $f | sed 's/.*_// ; s/\.txt//')" 7 move="$(echo $f | sed 's/.*_// ; s/\.txt//')"
8 printf '#define _move_cube_%s fastcube( \\\n ' "$move" 8 printf '#define _move_cube_%s fastcube( \\\n ' "$move"
9 ./h48_to_lst <"$f" 9 ./h48_to_lst <"$f"

Generated with cgit - Back to sebastiano.tronto.net