forked from RedisTimeSeries/RedisTimeSeries
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
72 lines (48 loc) · 1008 Bytes
/
Makefile
File metadata and controls
72 lines (48 loc) · 1008 Bytes
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
60
61
62
63
64
65
66
67
68
69
70
71
72
ROOT=.
MK_ALL_TARGETS=bindirs deps build package
ifeq ($(wildcard $(ROOT)/deps/readies/*),)
___:=$(shell git submodule update --init --recursive &> /dev/null)
endif
MK.pyver:=3
include $(ROOT)/deps/readies/mk/main
MK_CUSTOM_CLEAN=1
MK_CUSTOM_HELP=1
BINDIR=$(BINROOT)
include $(MK)/defs
include $(MK)/rules
.PHONY: all setup fetch build clean deps test pack help
all: fetch deps build
help:
@$(MAKE) -C src help
setup:
@echo Setting up system...
@./deps/readies/bin/getpy3
@./system-setup.py
fetch:
-@git submodule update --init --recursive
build:
@$(MAKE) -C src all -j $(NCPUS)
clean:
@$(MAKE) -C src clean
deps:
@$(MAKE) -C src deps
lint:
@$(MAKE) -C src lint
format:
@$(MAKE) -C src format
test:
@$(MAKE) -C src unit_tests flow_tests
unit_tests:
@$(MAKE) -C src unit_tests
flow_tests:
@$(MAKE) -C src flow_tests
pack:
@$(MAKE) -C src pack
run:
@$(MAKE) -C src run
benchmark:
@$(MAKE) -C src benchmark
docker:
@$(MAKE) -C src docker
# deploy:
# @make -C src deploy