forked from jacobratkiewicz/webgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
60 lines (49 loc) · 1.07 KB
/
Makefile
File metadata and controls
60 lines (49 loc) · 1.07 KB
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
50
51
52
53
54
55
56
57
58
59
SHELL := /bin/bash
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: info libs tests
info:
@echo "Compile WebGraph ..."
@echo "Shell: $(SHELL)"
@echo "INCLUDES: $(INCLUDES)"
@echo "LIBS: $(LIBS)"
@echo "FLAGS: $(FLAGS)"
tests: libs
pushd tests && \
$(MAKE) -C . && \
popd
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
rm -f *.a
rm -f *.so
@$(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
.PHONY: all tests libs info clean