2015-05-03 21:28:06 +02:00
|
|
|
|
2015-11-13 15:04:41 +01:00
|
|
|
# Makefile to build example code for all platforms but
|
|
|
|
# - iOS (iOS requires double Xcode installation)
|
2015-05-03 21:28:06 +02: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 17:52:43 +01:00
|
|
|
arduino \
|
2017-02-24 16:41:57 +01:00
|
|
|
deamon \
|
2016-01-22 17:52:43 +01:00
|
|
|
ez430-rf2560 \
|
2017-02-24 16:41:57 +01:00
|
|
|
libusb \
|
2016-01-22 17:52:43 +01:00
|
|
|
msp-exp430f5438-cc2564b \
|
|
|
|
msp430f5229lp-cc2564b \
|
|
|
|
mtk \
|
2017-02-24 16:41:57 +01:00
|
|
|
posix-h4 \
|
|
|
|
posix-h5 \
|
2015-05-03 21:28:06 +02:00
|
|
|
stm32-f103rb-nucleo \
|
2017-07-18 23:14:38 +02:00
|
|
|
max32630-fthr \
|
2015-05-03 21:28:06 +02:00
|
|
|
|
|
|
|
EXCLUDED = \
|
2015-11-13 15:04:41 +01:00
|
|
|
pic32-harmony/app.X \
|
2015-05-03 21:28:06 +02:00
|
|
|
ios \
|
2017-02-24 16:41:57 +01:00
|
|
|
wiced \
|
|
|
|
windows-h4 \
|
|
|
|
windows-winusb \
|
2015-05-03 21:28:06 +02:00
|
|
|
|
|
|
|
subdirs:
|
2016-01-21 12:03:39 +01:00
|
|
|
echo Building all ports
|
2015-05-03 21:28:06 +02:00
|
|
|
for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir; \
|
|
|
|
done
|
2015-11-13 15:04:41 +01:00
|
|
|
echo Building daemon
|
|
|
|
cd daemon ; ./bootstrap.sh ; make
|
2016-01-21 12:03:39 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
echo Cleaning all ports
|
|
|
|
for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir clean; \
|
|
|
|
done
|
|
|
|
echo Cleaning daemon
|
|
|
|
cd daemon ; make clean
|