2015-05-03 19:28:06 +00:00
|
|
|
|
2015-11-13 14:04:41 +00:00
|
|
|
# Makefile to build example code for all platforms but
|
|
|
|
# - iOS (iOS requires double Xcode installation)
|
2015-05-03 19:28:06 +00:00
|
|
|
# Intended for Continous Integration
|
|
|
|
#
|
|
|
|
# Requires:
|
|
|
|
# - gcc/clang, pkg-config, libusb
|
|
|
|
# - arm-none-eabi
|
|
|
|
# - mspgcc
|
|
|
|
# - Android Native Development Kit
|
|
|
|
# - Microchip XC32
|
|
|
|
|
|
|
|
SUBDIRS = \
|
2016-01-22 16:52:43 +00:00
|
|
|
arduino \
|
2017-02-24 15:41:57 +00:00
|
|
|
libusb \
|
2019-06-21 08:45:17 +00:00
|
|
|
libusb-intel \
|
|
|
|
max32630-fthr \
|
2016-01-22 16:52:43 +00:00
|
|
|
mtk \
|
2017-02-24 15:41:57 +00:00
|
|
|
posix-h4 \
|
2019-06-21 08:45:17 +00:00
|
|
|
posix-h4-atwilc3000 \
|
|
|
|
posix-h4-da14581 \
|
|
|
|
posix-h4-da14585 \
|
|
|
|
posix-h4-zephyr \
|
2017-02-24 15:41:57 +00:00
|
|
|
posix-h5 \
|
2019-06-21 08:45:17 +00:00
|
|
|
samv71-xplained-atwilc3000 \
|
|
|
|
stm32-f4discovery-cc256x \
|
|
|
|
stm32-l073rz-nucleo-em9304 \
|
2015-05-03 19:28:06 +00:00
|
|
|
|
|
|
|
EXCLUDED = \
|
2020-10-05 14:11:34 +00:00
|
|
|
daemon \
|
2021-03-09 15:44:32 +00:00
|
|
|
ez430-rf2560 \
|
|
|
|
msp-exp430f5438-cc2564b \
|
|
|
|
msp430f5229lp-cc2564b \
|
2015-11-13 14:04:41 +00:00
|
|
|
pic32-harmony/app.X \
|
2021-03-09 15:44:32 +00:00
|
|
|
stm32-f103rb-nucleo \
|
|
|
|
posix-h5-bcm \
|
2015-05-03 19:28:06 +00:00
|
|
|
ios \
|
2021-03-09 15:44:32 +00:00
|
|
|
wiced-h5 \
|
2017-02-24 15:41:57 +00:00
|
|
|
windows-h4 \
|
|
|
|
windows-winusb \
|
2015-05-03 19:28:06 +00:00
|
|
|
|
|
|
|
subdirs:
|
2016-01-21 11:03:39 +00:00
|
|
|
echo Building all ports
|
2015-05-03 19:28:06 +00:00
|
|
|
for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir; \
|
|
|
|
done
|
2015-11-13 14:04:41 +00:00
|
|
|
echo Building daemon
|
2020-10-05 14:11:34 +00:00
|
|
|
cd daemon ; ./bootstrap.sh ; ./configure ; make
|
2016-01-21 11:03:39 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
echo Cleaning all ports
|
|
|
|
for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir clean; \
|
|
|
|
done
|
|
|
|
echo Cleaning daemon
|
2020-10-05 14:11:34 +00:00
|
|
|
cd daemon ; ./clean.sh
|