btstack/test/Makefile

41 lines
612 B
Makefile
Raw Normal View History

# Makefile to build and run all tests
SUBDIRS = \
2015-07-02 10:46:45 +02:00
att_db \
ble_client \
des_iterator \
gatt_client \
2015-08-20 17:06:54 +02:00
hfp \
linked_list \
remote_device_db \
sdp_client \
2015-07-16 23:28:09 +02:00
security_manager \
2016-03-04 11:51:53 +01:00
subdirs: ../include/btstack/version.h
echo Building all tests
@set -e; \
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir; \
done
2016-03-04 11:51:53 +01:00
../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
2016-03-04 11:51:53 +01:00
test: ../include/btstack/version.h
echo Run all test
@set -e; \
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir test; \
done