-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
32 lines (30 loc) · 1008 Bytes
/
makefile
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
# Group No. : 42
# ID: 2020A7PS1214P Name: Darshan Abhaykumar
# ID: 2020A7PS0970P Name: Debjit Kar
# ID:2020A7PS0986P Name: Nidhish Parekh
runCompiler: driver1.o grammar.o lexer.o linkedlist.o parser.o tree.o stack_ll.o HTable.o Nlinkedlist.o ast.o symbolTable.o
gcc -o runCompiler driver1.o grammar.o lexer.o linkedlist.o parser.o tree.o stack_ll.o HTable.o Nlinkedlist.o ast.o symbolTable.o
driver1.o: driver1.c
gcc -c driver1.c
grammar.o: grammar.c grammarDef.h
gcc -c grammar.c
linkedlist.o: linkedlist.c lexerDef.h
gcc -c linkedlist.c
lexer.o: lexer.c lexerDef.h
gcc -c lexer.c
parser.o: parser.c parserDef.h
gcc -c parser.c
tree.o: tree.c treeDef.h
gcc -c tree.c
stack_ll.o: stack_ll.c stackDef.h
gcc -c stack_ll.c
HTable.o: HTable.c
gcc -c HTable.c
Nlinkedlist.o: Nlinkedlist.c
gcc -c Nlinkedlist.c
ast.o: ast.c ast.h astDef.h
gcc -c ast.c
symbolTable.o: symbolTable.c symbolTable.h symbolTableDef.h
gcc -c symbolTable.c
clean:
rm -rf *.o runCompiler