blob: dd5237872567d9be4db316be7c5980e571e70459 (
plain)
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
|
#
# Makefile for the RVI node.
#
#
.PHONY: all deps compile setup clean doc setup_backend setup_device
NAME=rvi
SETUP_GEN=./deps/setup/setup_gen
all: deps compile
deps:
./rebar get-deps
compile:
./rebar compile
recomp:
./rebar compile skip_deps=true
target_backend:
ERL_LIBS=$(PWD)/deps:$(ERL_LIBS) \
$(SETUP_GEN) $(NAME) priv/backend.config setup -pz $(PWD)/ebin \
-target rel_backend -vsn 0.1
target_device:
ERL_LIBS=$(PWD)/deps:$(ERL_LIBS) \
$(SETUP_GEN) $(NAME) priv/setup_device.config setup -pz $(PWD)/ebin \
-target rel_device -vsn 0.1
doc:
./REBAR_DOC=1 ./rebar skip_deps=true get-deps doc
clean:
./rebar clean
|