lang0/Makefile
Johan B.W. de Vries 98166bfa2e First version
2025-01-05 16:41:11 +01:00

18 lines
582 B
Makefile

TEE :=
run:
cat it1-in.lang0 | python3 it0-out.py $(if $(TEE),| tee,> ) it1-out0.py
cat it1-in.lang0 | python3 it1-out0.py $(if $(TEE),| tee,> ) it1-out1.py
diff it1-out0.py it1-out1.py > it1-out1.diff
cat it1-in.lang0 | python3 it1-out1.py $(if $(TEE),| tee,> ) it1-out2.py
diff it1-out1.py it1-out2.py > it1-out2.diff
cat it1-in.lang0 | python3 it1-out2.py $(if $(TEE),| tee,> ) it1-out3.py
diff it1-out2.py it1-out3.py > it1-out3.diff
# See how much our hand written code differs from resulting code
-diff it0-out.py it1-out0.py > it0-out0.diff
clean:
-rm it1-out*