gdritter repos when-computer / 2efdced
more build files Getty Ritter 9 years ago
3 changed file(s) with 9 addition(s) and 2 deletion(s). Collapse all Expand all
11 #!/bin/bash -e
22
3 redo-ifchange generate.scm
34 TEMP=$(mktemp -u -p $(pwd) tmpXXXXXX)
45 csc -t generate.scm -o $TEMP
56 mv $TEMP.c $3
11 #!/bin/sh
22
3 redo-ifchange generate.c
3 redo-ifchange generate.c telml.c
44 GCC=x86_64-linux-musl-gcc
5 ${GCC} -static generate.c -o $3 -I/usr/include/chicken -L/usr/lib -Wl,-R"/usr/lib" -lchicken -lm -ldl
5 ${GCC} -static generate.c telml.c -o $3 -I/usr/include/chicken -L/usr/lib -Wl,-R"/usr/lib" -lchicken -lm -ldl
1 #!/bin/bash -e
2
3 redo-ifchange telml.scm
4 TEMP=$(mktemp -u -p $(pwd) tmpXXXXXX)
5 csc -t telml.scm -o $TEMP
6 mv $TEMP.c $3