-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.mk
42 lines (27 loc) · 1.3 KB
/
Makefile.mk
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
CC=clang
CFLAGS=-I.
DEPS =
TestAssn3: test_assign3_1.o dberror.o expr.o record_mgr.o rm_serializer.o storage_mgr.o buffer_mgr.o buffer_mgr_stat.o
gcc -o TestAssn3 test_assign3_1.o dberror.o expr.o record_mgr.o rm_serializer.o storage_mgr.o buffer_mgr.o buffer_mgr_stat.o -lm
test_expr: test_expr.o dberror.o expr.o record_mgr.o rm_serializer.o storage_mgr.o buffer_mgr.o buffer_mgr_stat.o
gcc -o test_expr test_expr.o dberror.o expr.o record_mgr.o rm_serializer.o storage_mgr.o buffer_mgr.o -lm buffer_mgr_stat.o
test_assign3_1.o: test_assign3_1.c dberror.h storage_mgr.h test_helper.h buffer_mgr.h buffer_mgr_stat.h
gcc -c test_assign3_1.c -lm
test_expr.o: test_expr.c dberror.h expr.h record_mgr.h tables.h test_helper.h
gcc -c test_expr.c -lm
record_mgr.o: record_mgr.c record_mgr.h buffer_mgr.h storage_mgr.h
gcc -c record_mgr.c
expr.o: expr.c dberror.h record_mgr.h expr.h tables.h
gcc -c expr.c
rm_serializer.o: rm_serializer.c dberror.h tables.h record_mgr.h
gcc -c rm_serializer.c
buffer_mgr_stat.o: buffer_mgr_stat.c buffer_mgr_stat.h buffer_mgr.h
gcc -c buffer_mgr_stat.c
buffer_mgr.o: buffer_mgr.c buffer_mgr.h dt.h storage_mgr.h
gcc -c buffer_mgr.c
storage_mgr.o: storage_mgr.c storage_mgr.h
gcc -c storage_mgr.c -lm
dberror.o: dberror.c dberror.h
gcc -c dberror.c
clean:
rm -f *.o TestAssn3