forked from Lora-net/sx1302_hal
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
44 lines (31 loc) · 900 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
### Environment constants
ARCH ?=
CROSS_COMPILE ?=
export
### general build targets
.PHONY: all clean install install_conf libtools libloragw packet_forwarder util_net_downlink util_chip_id
all: libtools libloragw packet_forwarder util_net_downlink util_chip_id
libtools:
$(MAKE) all -e -C $@
libloragw: libtools
$(MAKE) all -e -C $@
packet_forwarder: libloragw
$(MAKE) all -e -C $@
util_net_downlink: libtools
$(MAKE) all -e -C $@
util_chip_id: libloragw
$(MAKE) all -e -C $@
clean:
$(MAKE) clean -e -C libtools
$(MAKE) clean -e -C libloragw
$(MAKE) clean -e -C packet_forwarder
$(MAKE) clean -e -C util_net_downlink
$(MAKE) clean -e -C util_chip_id
install:
$(MAKE) install -e -C libloragw
$(MAKE) install -e -C packet_forwarder
$(MAKE) install -e -C util_net_downlink
$(MAKE) install -e -C util_chip_id
install_conf:
$(MAKE) install_conf -e -C packet_forwarder
### EOF