-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
19 lines (17 loc) · 745 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
build:
bison -d -r all a2version2.y ; flex extetrickscanner.l ; gcc extetrickstype.c lex.yy.c a2version2.tab.c
tests:
pip install -r requirements.txt
bison -d -r all a2version2.y ; flex extetrickscanner.l ; gcc extetrickstype.c lex.yy.c a2version2.tab.c -o x2021A7PSXXXXG
cat game_default.py > game.py
./x2021A7PSXXXXG < input.tetris > game_temp.by
by2py game_temp.by
cat game_temp.py >> game.py
python3 engine.py
test_no_bython:
pip install -r requirements.txt
bison -d -r all a2version2.y ; flex extetrickscanner.l ; gcc extetrickstype.c lex.yy.c a2version2.tab.c -o x2021A7PSXXXXG
cat game_default.py > game.py
./x2021A7PSXXXXG < input.tetris > game_temp.py
cat game_temp.py >> game.py
python3 engine.py