summaryrefslogtreecommitdiff
path: root/miniany/autobuild.sh
blob: e174ff4b3a84a8c5b619a7c32e33f8c2165cdab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

cat >/tmp/autobuild_tmp_$$.sh <<EOF
#!/bin/bash

echo "---"
./build.sh cc tcc hosted d
./cc < test1.c > test1.asm
fasm test1.asm test1.bin
../ecomp-c/emul -v test1.bin
EOF
chmod 775 /tmp/autobuild_tmp_$$.sh

ls cc.c c4.c ../ecomp-c/emul.c ../ecomp-c/asm-i386.c test1.c | \
	entr bash /tmp/autobuild_tmp_$$.sh
rm -f /tmp/autobuild_tmp_$$.sh