mirror of
https://git.sr.ht/~crc_/retroforth
synced 2024-11-16 19:48:56 +01:00
af66c0079e
FossilOrigin-Name: 4bba4776c0c7e6b1a336592eb50beaff4a81a70d8c20be376e12322ef5bfd16c
30 lines
516 B
Makefile
30 lines
516 B
Makefile
LIBS = -lm
|
|
OPTS = -Wall -O3
|
|
|
|
all: clean first then image finally
|
|
|
|
clean:
|
|
rm -f bin/rre
|
|
rm -f bin/embedimage
|
|
rm -f bin/repl
|
|
rm -f bin/extend
|
|
rm -f bin/muri
|
|
|
|
first:
|
|
cd tools && make
|
|
|
|
then:
|
|
./bin/unu literate/Unu.md >tools/unu.c
|
|
./bin/unu literate/Muri.md >tools/muri.c
|
|
|
|
image:
|
|
./bin/muri literate/Rx.md
|
|
./bin/extend literate/RetroForth.md
|
|
cp ngaImage interfaces
|
|
cd interfaces && ../bin/extend rre.forth
|
|
cd interfaces && ../bin/embedimage >image.c
|
|
rm interfaces/ngaImage
|
|
|
|
finally:
|
|
cd interfaces && make
|
|
|