2015-05-17 16:07:24 +00:00
|
|
|
|
|
|
|
# Makefile to build and run all tests
|
|
|
|
|
|
|
|
SUBDIRS = \
|
2015-07-02 08:46:45 +00:00
|
|
|
att_db \
|
2017-02-27 19:31:30 +00:00
|
|
|
avdtp \
|
|
|
|
avrcp \
|
2017-10-23 12:24:19 +00:00
|
|
|
tlv_posix \
|
2015-05-17 16:07:24 +00:00
|
|
|
ble_client \
|
2017-02-27 19:31:30 +00:00
|
|
|
btstack_link_key_db \
|
2015-05-17 16:07:24 +00:00
|
|
|
des_iterator \
|
|
|
|
gatt_client \
|
2015-08-20 15:06:54 +00:00
|
|
|
hfp \
|
2015-05-17 16:07:24 +00:00
|
|
|
linked_list \
|
|
|
|
sdp_client \
|
2015-07-16 21:28:09 +00:00
|
|
|
security_manager \
|
2017-02-27 19:43:10 +00:00
|
|
|
# maths \
|
2015-07-03 09:01:27 +00:00
|
|
|
|
2015-05-17 16:07:24 +00:00
|
|
|
subdirs:
|
|
|
|
echo Building all tests
|
2015-10-12 08:59:06 +00:00
|
|
|
@set -e; \
|
2015-05-17 16:07:24 +00:00
|
|
|
for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir; \
|
|
|
|
done
|
|
|
|
|
|
|
|
clean:
|
|
|
|
echo Clean all test
|
2015-10-12 08:59:06 +00:00
|
|
|
@set -e; \
|
2015-05-17 16:07:24 +00:00
|
|
|
for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir clean; \
|
|
|
|
done
|
|
|
|
|
|
|
|
test:
|
|
|
|
echo Run all test
|
2015-10-12 08:59:06 +00:00
|
|
|
@set -e; \
|
2015-05-17 16:07:24 +00:00
|
|
|
for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir test; \
|
|
|
|
done
|
|
|
|
|
|
|
|
|