xref: /btstack/test/Makefile (revision 3edc84c5b6b1e23a3d103fe8ce1f6b5ad1df3498)
1
2# Makefile to build and run all tests
3
4SUBDIRS =  \
5	att_db \
6	ble_client \
7	des_iterator \
8	gatt_client \
9	linked_list \
10	remote_device_db \
11	sdp_client \
12	security_manager \
13
14#	hfp \
15
16
17subdirs:
18	echo Building all tests
19	@set -e; \
20	for dir in $(SUBDIRS); do \
21	  $(MAKE) -C $$dir; \
22	done
23
24clean:
25	echo Clean all test
26	@set -e; \
27	for dir in $(SUBDIRS); do \
28	  $(MAKE) -C $$dir clean; \
29	done
30
31test:
32	echo Run all test
33	@set -e; \
34	for dir in $(SUBDIRS); do \
35	  $(MAKE) -C $$dir test; \
36	done
37
38
39