xref: /btstack/port/Makefile (revision 3edc84c5b6b1e23a3d103fe8ce1f6b5ad1df3498)
1*3edc84c5SMatthias Ringwald
2*3edc84c5SMatthias Ringwald# Makefile to build example code for all platforms but
3*3edc84c5SMatthias Ringwald# - iOS (iOS requires double Xcode installation)
4*3edc84c5SMatthias Ringwald# Intended for Continous Integration
5*3edc84c5SMatthias Ringwald#
6*3edc84c5SMatthias Ringwald# Requires:
7*3edc84c5SMatthias Ringwald# - gcc/clang, pkg-config, libusb
8*3edc84c5SMatthias Ringwald# - arm-none-eabi
9*3edc84c5SMatthias Ringwald# - mspgcc
10*3edc84c5SMatthias Ringwald# - Android Native Development Kit
11*3edc84c5SMatthias Ringwald# - Microchip XC32
12*3edc84c5SMatthias Ringwald
13*3edc84c5SMatthias RingwaldSUBDIRS =  \
14*3edc84c5SMatthias Ringwald			arduino \
15*3edc84c5SMatthias Ringwald			ez430-rf2560 \
16*3edc84c5SMatthias Ringwald			libusb \
17*3edc84c5SMatthias Ringwald			msp-exp430f5438-cc2564b \
18*3edc84c5SMatthias Ringwald			msp430f5229lp-cc2564b \
19*3edc84c5SMatthias Ringwald			mtk \
20*3edc84c5SMatthias Ringwald			posix-stlc2500d \
21*3edc84c5SMatthias Ringwald			posix-wl183x \
22*3edc84c5SMatthias Ringwald			stm32-f103rb-nucleo \
23*3edc84c5SMatthias Ringwald
24*3edc84c5SMatthias RingwaldEXCLUDED = \
25*3edc84c5SMatthias Ringwald			pic32-harmony/app.X \
26*3edc84c5SMatthias Ringwald			ios \
27*3edc84c5SMatthias Ringwald
28*3edc84c5SMatthias Ringwaldsubdirs:
29*3edc84c5SMatthias Ringwald	echo Building all platforms
30*3edc84c5SMatthias Ringwald	for dir in $(SUBDIRS); do \
31*3edc84c5SMatthias Ringwald	  $(MAKE) -C $$dir; \
32*3edc84c5SMatthias Ringwald	done
33*3edc84c5SMatthias Ringwald	echo Building daemon
34*3edc84c5SMatthias Ringwald	cd daemon ; ./bootstrap.sh ; make
35