21 lines
418 B
Makefile
Raw Permalink Normal View History

2023-08-04 16:44:31 +02:00
PYTHON = python3.11
2023-01-11 11:13:09 +01:00
all: jack vm asm bin sim
jack:
2023-08-04 16:44:31 +02:00
$(PYTHON) ../../tools/JackCompiler/JackCompiler.pyc ./
2023-01-11 11:13:09 +01:00
vm:
2023-08-04 16:44:31 +02:00
$(PYTHON) ../../tools/VMTranslator/VMTranslator.pyc ./
2023-01-11 11:13:09 +01:00
asm:
2023-08-04 16:44:31 +02:00
$(PYTHON) ../../tools/Assembler/assembler.pyc out.asm
2023-01-11 11:13:09 +01:00
bin:
2023-08-04 16:44:31 +02:00
$(PYTHON) ../../tools/AsciiToBin.py out.hack
2023-01-11 11:13:09 +01:00
sim:
cp out.hack ../00_HACK/ROM.hack
upload:
iceprogduino -o 64k -w out.bin
clean:
rm -f *.vm *.asm *.hack *.bin *~
.PHONY: all clean