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