13edc84c5SMatthias Ringwald 23edc84c5SMatthias Ringwald# Makefile to build example code for all platforms but 33edc84c5SMatthias Ringwald# - iOS (iOS requires double Xcode installation) 43edc84c5SMatthias Ringwald# Intended for Continous Integration 53edc84c5SMatthias Ringwald# 63edc84c5SMatthias Ringwald# Requires: 73edc84c5SMatthias Ringwald# - gcc/clang, pkg-config, libusb 83edc84c5SMatthias Ringwald# - arm-none-eabi 93edc84c5SMatthias Ringwald# - mspgcc 103edc84c5SMatthias Ringwald# - Android Native Development Kit 113edc84c5SMatthias Ringwald# - Microchip XC32 123edc84c5SMatthias Ringwald 133edc84c5SMatthias RingwaldSUBDIRS = \ 1419084a7dSMatthias Ringwald arduino \ 15e80f486fSMatthias Ringwald libusb \ 16bdc352b1SMatthias Ringwald libusb-intel \ 17bdc352b1SMatthias Ringwald max32630-fthr \ 1819084a7dSMatthias Ringwald mtk \ 19e80f486fSMatthias Ringwald posix-h4 \ 20bdc352b1SMatthias Ringwald posix-h4-atwilc3000 \ 21bdc352b1SMatthias Ringwald posix-h4-da14581 \ 22bdc352b1SMatthias Ringwald posix-h4-da14585 \ 23bdc352b1SMatthias Ringwald posix-h4-zephyr \ 24e80f486fSMatthias Ringwald posix-h5 \ 25bdc352b1SMatthias Ringwald samv71-xplained-atwilc3000 \ 26bdc352b1SMatthias Ringwald stm32-f4discovery-cc256x \ 27bdc352b1SMatthias Ringwald stm32-l073rz-nucleo-em9304 \ 283edc84c5SMatthias Ringwald 293edc84c5SMatthias RingwaldEXCLUDED = \ 30ccaf0865SMatthias Ringwald daemon \ 31*8e2b5d88SMatthias Ringwald ez430-rf2560 \ 32*8e2b5d88SMatthias Ringwald msp-exp430f5438-cc2564b \ 33*8e2b5d88SMatthias Ringwald msp430f5229lp-cc2564b \ 343edc84c5SMatthias Ringwald pic32-harmony/app.X \ 35*8e2b5d88SMatthias Ringwald stm32-f103rb-nucleo \ 36*8e2b5d88SMatthias Ringwald posix-h5-bcm \ 373edc84c5SMatthias Ringwald ios \ 38*8e2b5d88SMatthias Ringwald wiced-h5 \ 39e80f486fSMatthias Ringwald windows-h4 \ 40e80f486fSMatthias Ringwald windows-winusb \ 413edc84c5SMatthias Ringwald 423edc84c5SMatthias Ringwaldsubdirs: 43ce8f182eSMatthias Ringwald echo Building all ports 443edc84c5SMatthias Ringwald for dir in $(SUBDIRS); do \ 453edc84c5SMatthias Ringwald $(MAKE) -C $$dir; \ 463edc84c5SMatthias Ringwald done 473edc84c5SMatthias Ringwald echo Building daemon 48ccaf0865SMatthias Ringwald cd daemon ; ./bootstrap.sh ; ./configure ; make 49ce8f182eSMatthias Ringwald 50ce8f182eSMatthias Ringwaldclean: 51ce8f182eSMatthias Ringwald echo Cleaning all ports 52ce8f182eSMatthias Ringwald for dir in $(SUBDIRS); do \ 53ce8f182eSMatthias Ringwald $(MAKE) -C $$dir clean; \ 54ce8f182eSMatthias Ringwald done 55ce8f182eSMatthias Ringwald echo Cleaning daemon 56ccaf0865SMatthias Ringwald cd daemon ; ./clean.sh 57