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