blob: f3366b0f69031d466df31c462a720ecf3013e6fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
.PHONY: all
py = /usr/bin/env python3
digital_path = $(HOME)/.local/share/Digital/digital.jar
start-digital:
java -jar $(digital_path) &
# make assemble asm=src/program.atk16 out=out/program.bin
assemble:
$(py) src/assembler.py $(asm) $(out)
# make gen-ucode out=out/ucode.bin
gen-ucode:
$(py) src/ucode.py $(out)
# make test
test:
$(py) src/test_alu.py digital/atk16_alu.dig
run-single-test:
java -cp $(digital_path) CLI test -verbose -circ $(circ) -tests $(tests)
|