forked from RedisTimeSeries/RedisTimeSeries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
55 lines (38 loc) · 799 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
44
45
46
47
48
49
50
51
52
53
54
55
ROOT=.
MK.pyver:=3
ifeq ($(wildcard $(ROOT)/deps/readies/mk),)
$(error Submodules not present. Please run 'git submodule update --init --recursive')
endif
include $(ROOT)/deps/readies/mk/main
MK_CUSTOM_CLEAN=1
BINDIR=$(BINROOT)
include $(MK)/defs
include $(MK)/rules
.PHONY: all setup fetch build clean test pack help
all: fetch 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
lint:
@$(MAKE) -C src lint
format:
@$(MAKE) -C src format
test:
@$(MAKE) -C src tests
unittests:
@$(MAKE) -C src unittests
pack:
@$(MAKE) -C src package
run:
@$(MAKE) -C src run
# deploy:
# @make -C src deploy