# Makefile to build and run all tests SUBDIRS = \ att_db \ ble_client \ des_iterator \ gatt_client \ hfp \ linked_list \ remote_device_db \ sdp_client \ security_manager \ subdirs: ../include/btstack/version.h echo Building all tests @set -e; \ for dir in $(SUBDIRS); do \ $(MAKE) -C $$dir; \ done ../include/btstack/version.h: ../tools/get_version.sh clean: echo Clean all test @set -e; \ for dir in $(SUBDIRS); do \ $(MAKE) -C $$dir clean; \ done test: ../include/btstack/version.h echo Run all test @set -e; \ for dir in $(SUBDIRS); do \ $(MAKE) -C $$dir test; \ done