2017-10-19 20:24:26 +02:00
|
|
|
LIBS = -lm
|
|
|
|
OPTS = -Wall -O3
|
2017-10-16 18:09:39 +02:00
|
|
|
|
2017-10-19 20:24:26 +02:00
|
|
|
all: clean first then image finally
|
2017-10-16 18:09:39 +02:00
|
|
|
|
|
|
|
clean:
|
2017-10-19 20:24:26 +02:00
|
|
|
rm -f bin/rre
|
|
|
|
rm -f bin/embedimage
|
|
|
|
rm -f bin/repl
|
|
|
|
rm -f bin/extend
|
|
|
|
rm -f bin/muri
|
|
|
|
rm -f bin/tanu
|
2017-10-16 18:09:39 +02:00
|
|
|
|
2017-10-19 20:24:26 +02:00
|
|
|
first:
|
2017-10-19 21:11:45 +02:00
|
|
|
cd tools && make
|
2017-10-16 18:09:39 +02:00
|
|
|
|
2017-10-19 20:24:26 +02:00
|
|
|
then:
|
2017-10-19 21:11:45 +02:00
|
|
|
./bin/unu literate/Unu.md >tools/unu.c
|
|
|
|
./bin/unu literate/Muri.md >tools/muri.c
|
2017-10-16 18:09:39 +02:00
|
|
|
|
|
|
|
image:
|
|
|
|
./bin/muri literate/Rx.md
|
|
|
|
./bin/extend literate/RetroForth.md
|
2017-10-20 03:11:18 +02:00
|
|
|
cp ngaImage source
|
|
|
|
cd source && ../bin/extend rre.forth
|
|
|
|
cd source && ../bin/embedimage >image.c
|
|
|
|
rm source/ngaImage
|
2017-10-16 18:09:39 +02:00
|
|
|
|
|
|
|
finally:
|
2017-10-19 20:24:26 +02:00
|
|
|
cd source && make
|