-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
50 lines (33 loc) · 1.03 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
48
49
.PHONY: all
LFS = src/skiplist src/linkedlist src/bst src/bst-aravind src/hashtable
LBS = src/linkedlist-lazy src/hashtable-lazy
.PHONY: clean all $(LFS)
default: linkedlist skiplist bst-aravind hashtable linkedlist-lazy hashtable-lazy $(LFS) $(LBS)
all: linkedlist skiplist bst-aravind hashtable linkedlist-lazy hashtable-lazy bst-tk skiplist-herlihy-lb $(LFS) $(LBS)
linkedlist:
$(MAKE) -B -C src/linkedlist
linkedlist-lazy:
$(MAKE) -B -C src/linkedlist-lazy
hashtable-lazy:
$(MAKE) "G=GL" -B -C src/hashtable-lazy
skiplist:
$(MAKE) -B -C src/skiplist
skiplist-herlihy-lb:
$(MAKE) -B -C src/skiplist-herlihy-lb
bst:
$(MAKE) -B -C src/bst
bst-tk:
$(MAKE) -B -C src/bst-tk
bst-aravind:
$(MAKE) -B -C src/bst-aravind
hashtable:
$(MAKE) -B -C src/hashtable
clean:
$(MAKE) -B -C src/skiplist clean
$(MAKE) -B -C src/linkedlist clean
$(MAKE) -B -C src/linkedlist-lazy clean
$(MAKE) -B -C src/hashtable-lazy clean
$(MAKE) -B -C src/bst clean
$(MAKE) -B -C src/bst-aravind clean
$(MAKE) -B -C src/hashtable clean
rm -rf build