-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
39 lines (29 loc) · 1017 Bytes
/
Copy pathmakefile
File metadata and controls
39 lines (29 loc) · 1017 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
30
31
32
33
34
35
36
37
38
39
# Group No: 26
# Authors:
# Nithin Benny Myppan - 2016A7PS0014P
# Adhitya Mamallan - 2016A7PS0028P
# Swarup N - 2016A7PS0080P
# Naveen Unnikrishnan - 2016A7PS0111P
driver: driver.o lexer.o lookup.o parser.o NaryTree.o stack.o ast.o symbolTable.o
gcc-5 -g -o compiler driver.o lexer.o lookup.o parser.o NaryTree.o stack.o ast.o symbolTable.o
driver.o: driver.c lexer.h parser.h
gcc-5 -g -c driver.c
parser.o: parser.c parser.h parserDef.h lexer.h lexerDef.h
gcc-5 -g -c parser.c
lexer.o: lexer.c lexer.h lexerDef.h lookup.h
gcc-5 -g -c lexer.c
NaryTree.o: NaryTree.c NaryTree.h parserDef.h lexerDef.h
gcc-5 -g -c NaryTree.c
stack.o: stack.c stack.h NaryTree.h parserDef.h lexerDef.h
gcc-5 -g -c stack.c
lookup.o: lookup.c lookup.h
gcc-5 -g -c lookup.c
ast.o: ast.c ast.h astDef.h lexerDef.h
gcc-5 -g -c ast.c
symbolTable.o: symbolTable.c symbolTable.h symbolTableDef.h astDef.h lexerDef.h
gcc-5 -g -c symbolTable.c
clean:
rm -f *.o
rm -f test
rm -f out*
rm -f *.out