forked from Panther-X/sx1302_hal
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
54 lines (39 loc) · 1.17 KB
/
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
### 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 util_boot util_spectral_scan
all: libtools libloragw packet_forwarder util_net_downlink util_chip_id util_boot util_spectral_scan
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 $@
util_boot: libloragw
$(MAKE) all -e -C $@
util_spectral_scan: 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
$(MAKE) clean -e -C util_boot
$(MAKE) clean -e -C util_spectral_scan
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
$(MAKE) install -e -C util_boot
$(MAKE) install -e -C util_spectral_scan
install_conf:
$(MAKE) install_conf -e -C packet_forwarder
### EOF