generate machine.py file

This commit is contained in:
2024-03-28 12:23:16 +01:00
parent fa70beb1a4
commit af82eb5b00
3 changed files with 23 additions and 13 deletions

View File

@ -2,7 +2,10 @@ LDFLAGS="-L/usr/local/opt/flex/lib"
machine.py: ram
./ram < test.1
echo "### machine.py ###"
cat machine.py
echo "### execution ###"
python machine.py
ram: ram.yy.c ram.tab.c
gcc -o $@ $^ -ly -lfl