xref: /btstack/port/Makefile (revision 1e598166446edd12daa519488aedfe7ced2004e2)
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			ez430-rf2560 \
16			libusb \
17			msp-exp430f5438-cc2564b \
18			msp430f5229lp-cc2564b \
19			mtk \
20			posix-cc2564b \
21			posix-csr \
22			posix-h4 \
23			posix-stlc2500d \
24			posix-tc35661 \
25			posix-wl183x \
26			stm32-f103rb-nucleo \
27
28EXCLUDED = \
29			pic32-harmony/app.X \
30			ios \
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