-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdebug.bat
More file actions
29 lines (27 loc) · 750 Bytes
/
Copy pathdebug.bat
File metadata and controls
29 lines (27 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
set grmPath=%CD%
set grmPath=%grmPath%\parser.c
gcc -w -g -c erplag.c
gcc -w -g -c error.c
gcc -w -g -c codegen.c
gcc -w -g -c symbolTable.c
gcc -w -g -c symbolTableDriver.c
gcc -w -g -c astDriver.c
gcc -w -g -c ast.c
gcc -w -g -c typeChecker.c
gcc -w -g -c lexer.c
gcc -w -g -c "%grmPath%"
gcc -w -g -o compiler.exe erplag.o codegen.o ast.o lexer.o parser.o symbolTable.o typeChecker.o error.o
gcc -w -g -o ST.exe symbolTableDriver.o ast.o lexer.o parser.o symbolTable.o typeChecker.o error.o
gcc -w -g -o ast.exe astDriver.o ast.o lexer.o parser.o error.o
del erplag.o
del error.o
del codegen.o
del symbolTable.o
del symbolTableDriver.o
del ast.o
del astDriver.o
del typeChecker.o
del lexer.o
del parser.o
echo Debugging files created^!