sx1302_hal/Makefile
Michael Coracin 4c61c5d48e v1.0.0
* Initial release for SX1302 CoreCell Reference Design.
2019-07-12 15:40:13 +02:00

44 lines
900 B
Makefile

### 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