xref: /btstack/port/Makefile (revision 8e2b5d88cf13a0c6428883b6b9fddf2385a13384)
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			libusb \
16			libusb-intel \
17			max32630-fthr \
18			mtk \
19			posix-h4 \
20			posix-h4-atwilc3000 \
21			posix-h4-da14581 \
22			posix-h4-da14585 \
23			posix-h4-zephyr \
24			posix-h5 \
25			samv71-xplained-atwilc3000 \
26			stm32-f4discovery-cc256x \
27			stm32-l073rz-nucleo-em9304 \
28
29EXCLUDED = \
30			daemon \
31			ez430-rf2560 \
32			msp-exp430f5438-cc2564b \
33			msp430f5229lp-cc2564b \
34			pic32-harmony/app.X \
35			stm32-f103rb-nucleo \
36			posix-h5-bcm \
37			ios \
38			wiced-h5 \
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