btstack/test/Makefile
Matthias Ringwald 8d3dd4c5b3 fix test compile
2016-03-04 11:51:53 +01:00

41 lines
612 B
Makefile

# 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