-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
executable file
·47 lines (31 loc) · 1.2 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
CC = g++ -std=c++11
library.o: library.cc library.h
$(CC) -g -Wall -o $@ -c $<
library: library.o
csv2heapfile: csv2heapfile.cc library.o
$(CC) -g -Wall -o $@ $< library.o
scan: scan.cc library.o
$(CC) -g -Wall -o $@ $< library.o
insert: insert.cc library.o
$(CC) -g -Wall -o $@ $< library.o
update: update.cc library.o
$(CC) -g -Wall -o $@ $< library.o
delete: delete.cc library.o
$(CC) -g -Wall -o $@ $< library.o
select: select.cc library.o
$(CC) -g -Wall -o $@ $< library.o
csv2colstore: csv2colstore.cc library.o
$(CC) -g -Wall -o $@ $< library.o
select2: select2.cc library.o
$(CC) -g -Wall -o $@ $< library.o
select3: select3.cc library.o
$(CC) -g -Wall -o $@ $< library.o
write_fixed_len_pages: write_fixed_len_pages.cc library.o
$(CC) -g -Wall -o $@ $< library.o
read_fixed_len_page: read_fixed_len_page.cc library.o
$(CC) -g -Wall -o $@ $< library.o
test_heapfile: test_heapfile.cc library.o
$(CC) -g -Wall -o $@ $< library.o
all: csv2heapfile csv2colstore scan insert update delete select select2 select3 write_fixed_len_pages read_fixed_len_page
clean:
rm -rf *.o csv2heapfile csv2colstore scan insert update delete select select2 select3 write_fixed_len_pages read_fixed_len_page *.dSYM