1 2# Makefile to build example code for all platforms but 3# - iOS (iOS requires double Xcode installation) 4# Intended for Continous Integration 5# 6# Requires: 7# - gcc/clang, pkg-config, libusb 8# - arm-none-eabi 9# - mspgcc 10# - Android Native Development Kit 11# - Microchip XC32 12 13SUBDIRS = \ 14 arduino \ 15 deamon \ 16 ez430-rf2560 \ 17 libusb \ 18 msp-exp430f5438-cc2564b \ 19 msp430f5229lp-cc2564b \ 20 mtk \ 21 posix-h4 \ 22 posix-h5 \ 23 stm32-f103rb-nucleo \ 24 max32630-fthr \ 25 26EXCLUDED = \ 27 pic32-harmony/app.X \ 28 ios \ 29 wiced \ 30 windows-h4 \ 31 windows-winusb \ 32 33subdirs: 34 echo Building all ports 35 for dir in $(SUBDIRS); do \ 36 $(MAKE) -C $$dir; \ 37 done 38 echo Building daemon 39 cd daemon ; ./bootstrap.sh ; make 40 41clean: 42 echo Cleaning all ports 43 for dir in $(SUBDIRS); do \ 44 $(MAKE) -C $$dir clean; \ 45 done 46 echo Cleaning daemon 47 cd daemon ; make clean 48