xref: /btstack/port/Makefile (revision bc37f7b0d0a3eaa5763a873c5730bc14b849aaa0)
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			posix-cc2564b \
15			posix-csr \
16			posix-h4 \
17			posix-stlc2500d \
18			posix-tc35661 \
19			posix-wl183x \
20			libusb \
21			arduino \
22			ez430-rf2560 \
23			msp-exp430f5438-cc2564b \
24			msp430f5229lp-cc2564b \
25			mtk \
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