xref: /btstack/port/Makefile (revision cd5f23a3250874824c01a2b3326a9522fea3f99f)
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			libusb-intel \
18			max32630-fthr \
19			msp-exp430f5438-cc2564b \
20			msp430f5229lp-cc2564b \
21			mtk \
22			posix-h4 \
23			posix-h4-atwilc3000 \
24			posix-h4-da14581 \
25			posix-h4-da14585 \
26			posix-h4-zephyr \
27			posix-h5 \
28			posix-h5-bcm \
29			samv71-xplained-atwilc3000 \
30			stm32-f103rb-nucleo \
31			stm32-f4discovery-cc256x \
32			stm32-l073rz-nucleo-em9304 \
33
34EXCLUDED = \
35			daemon \
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 ; ./configure ; 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 ; ./clean.sh
57