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 25EXCLUDED = \ 26 pic32-harmony/app.X \ 27 ios \ 28 wiced \ 29 windows-h4 \ 30 windows-winusb \ 31 32subdirs: 33 echo Building all ports 34 for dir in $(SUBDIRS); do \ 35 $(MAKE) -C $$dir; \ 36 done 37 echo Building daemon 38 cd daemon ; ./bootstrap.sh ; make 39 40clean: 41 echo Cleaning all ports 42 for dir in $(SUBDIRS); do \ 43 $(MAKE) -C $$dir clean; \ 44 done 45 echo Cleaning daemon 46 cd daemon ; make clean 47