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 daemon \ 16 ez430-rf2560 \ 17 libusb \ 18 libusb-intel \ 19 max32630-fthr \ 20 msp-exp430f5438-cc2564b \ 21 msp430f5229lp-cc2564b \ 22 mtk \ 23 posix-h4 \ 24 posix-h4-atwilc3000 \ 25 posix-h4-da14581 \ 26 posix-h4-da14585 \ 27 posix-h4-zephyr \ 28 posix-h5 \ 29 posix-h5-bcm \ 30 samv71-xplained-atwilc3000 \ 31 stm32-f103rb-nucleo \ 32 stm32-f4discovery-cc256x \ 33 stm32-l073rz-nucleo-em9304 \ 34 35EXCLUDED = \ 36 pic32-harmony/app.X \ 37 ios \ 38 wiced \ 39 windows-h4 \ 40 windows-winusb \ 41 42subdirs: 43 echo Building all ports 44 for dir in $(SUBDIRS); do \ 45 $(MAKE) -C $$dir; \ 46 done 47 echo Building daemon 48 cd daemon ; ./bootstrap.sh ; make 49 50clean: 51 echo Cleaning all ports 52 for dir in $(SUBDIRS); do \ 53 $(MAKE) -C $$dir clean; \ 54 done 55 echo Cleaning daemon 56 cd daemon ; make clean 57