2017-11-08 16:43:52 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
rm -f bin/rre
|
|
|
|
rm -f bin/embedimage
|
|
|
|
rm -f bin/repl
|
|
|
|
rm -f bin/extend
|
|
|
|
rm -f bin/muri
|
|
|
|
|
|
|
|
cd tools
|
|
|
|
cc -O3 -c embedimage.c -o embedimage.o
|
|
|
|
cc -O3 -c extend.c -o extend.o
|
|
|
|
cc -O3 -c unu.c -o unu.o
|
|
|
|
cc -O3 -c muri.c -o muri.o
|
|
|
|
cc unu.o -lm -o unu
|
|
|
|
cc muri.o -lm -o muri
|
|
|
|
cc embedimage.o -lm -o embedimage
|
|
|
|
cc extend.o -lm -o extend
|
|
|
|
mv embedimage ../bin
|
|
|
|
mv extend ../bin
|
|
|
|
mv unu ../bin
|
|
|
|
mv muri ../bin
|
|
|
|
rm *.o
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
./bin/unu literate/Unu.md >tools/unu.c
|
|
|
|
./bin/unu literate/Muri.md >tools/muri.c
|
|
|
|
./bin/muri literate/Rx.md
|
|
|
|
./bin/extend literate/RetroForth.md
|
|
|
|
|
2018-01-15 14:29:28 +01:00
|
|
|
cp ngaImage interfaces/ri
|
|
|
|
cd interfaces/ri
|
2018-01-30 16:03:59 +01:00
|
|
|
../../bin/embedimage > image.c
|
2018-01-30 15:59:06 +01:00
|
|
|
cp image.c ..
|
2018-01-15 14:29:28 +01:00
|
|
|
rm ngaImage
|
|
|
|
cd ../..
|
|
|
|
|
2017-12-11 19:04:15 +01:00
|
|
|
cp ngaImage interfaces
|
|
|
|
cd interfaces
|
|
|
|
../bin/extend rre_windows.forth
|
2018-01-30 16:03:59 +01:00
|
|
|
../bin/embedimage > rre_image_windows.c
|
2017-12-11 19:04:15 +01:00
|
|
|
rm ngaImage
|
|
|
|
cd ..
|
|
|
|
|
2017-11-08 16:43:52 +01:00
|
|
|
cp ngaImage interfaces
|
|
|
|
cd interfaces
|
|
|
|
../bin/extend rre.forth
|
2018-01-30 16:03:59 +01:00
|
|
|
../bin/embedimage > rre_image_unix.c
|
2017-11-08 16:43:52 +01:00
|
|
|
rm ngaImage
|
|
|
|
cc -O3 -c rre.c -o rre.o
|
|
|
|
cc -O3 -c repl.c -o repl.o
|
|
|
|
cc rre.o -lm -o rre
|
2018-01-08 20:45:13 +01:00
|
|
|
cc repl.o -o repl
|
2017-11-08 16:43:52 +01:00
|
|
|
mv rre ../bin
|
|
|
|
mv repl ../bin
|
|
|
|
rm *.o
|
|
|
|
cd ..
|
2017-11-15 21:34:20 +01:00
|
|
|
|
2018-01-09 15:47:13 +01:00
|
|
|
echo "Update Glossary"
|
2018-01-30 13:27:38 +01:00
|
|
|
cat words.tsv | LC_ALL=c sort -h >/tmp/words
|
2017-11-15 21:34:20 +01:00
|
|
|
mv /tmp/words words.tsv
|
|
|
|
./bin/rre glossary.forth export glossary >doc/Glossary.txt
|