more build files
Getty Ritter
9 years ago
1 | 1 |
#!/bin/bash -e
|
2 | 2 |
|
| 3 |
redo-ifchange generate.scm
|
3 | 4 |
TEMP=$(mktemp -u -p $(pwd) tmpXXXXXX)
|
4 | 5 |
csc -t generate.scm -o $TEMP
|
5 | 6 |
mv $TEMP.c $3
|
1 | 1 |
#!/bin/sh
|
2 | 2 |
|
3 | |
redo-ifchange generate.c
|
| 3 |
redo-ifchange generate.c telml.c
|
4 | 4 |
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
|