~crc_/retroforth

ref: 5d9c9f1ad3ad64fe312798aff34bb642ad4c8d19 retroforth/Makefile.python -rw-r--r-- 700 bytes
5d9c9f1a — crc update references to old s:split in retro-describe 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PYTHON ?= python3
EDITOR ?= nano

default: baseimage
	cp ngaImage pythonImage
	$(PYTHON) tools/retro-extend.py pythonImage interface/clock.retro interface/filesystem.retro interface/floatingpoint.retro interface/rng.retro package/dict-words-listing.forth
	$(PYTHON) tools/retro-embedimage.py pythonImage >vm/nga-python/InitialImage.py
	rm -f pythonImage

baseimage:
	$(PYTHON) tools/retro-muri.py image/retro.muri
	$(PYTHON) tools/retro-extend.py ngaImage image/retro.forth

release:
	retro tools/amalgamate-python.retro >rel/python/retroforth/retroforth.py
	$(EDITOR) rel/python/setup.py
	cd rel/python && python3 setup.py sdist bdist_wheel

upload:
	cd rel/python && python3 -m twine upload dist/*