-
Notifications
You must be signed in to change notification settings - Fork 21
/
Makefile
44 lines (37 loc) · 839 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
33
34
35
36
37
38
39
40
41
42
43
include flags.mk
files = asciigraph/offline_graph.o \
asciigraph/vertex.o \
asciigraph/offline_edge_iterator.o \
asciigraph/offline_vertex_iterator.o \
bitstreams/input_bitstream.o \
bitstreams/output_bitstream.o \
properties/properties.o \
utils/fast.o \
webgraph/compression_flags.o \
webgraph/webgraph.o \
webgraph/iterators/node_iterator.o
#
# default target
#
all: libs
tests: libs
$(MAKE) -C tests
libs:
$(MAKE) -C asciigraph all
$(MAKE) -C utils all
$(MAKE) -C bitstreams all
$(MAKE) -C properties all
$(MAKE) -C webgraph all
# $(MAKE) -C log all
ar -r libwebgraph.a $(files)
clean:
rm -f core*
rm -f *~
rm -f *.o
@$(MAKE) -C asciigraph clean
@$(MAKE) -C bitstreams clean
@$(MAKE) -C properties clean
@$(MAKE) -C utils clean
@$(MAKE) -C webgraph clean
@$(MAKE) -C log clean
@$(MAKE) -C tests clean