From 085cabc2116a707ddeba05e7909751fbd3406333 Mon Sep 17 00:00:00 2001 From: "mila@ringwald.ch" Date: Fri, 28 Feb 2014 21:44:39 +0000 Subject: [PATCH] comple le_central test --- test/ble_client/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/test/ble_client/Makefile b/test/ble_client/Makefile index cba174ae4..f107f6c36 100644 --- a/test/ble_client/Makefile +++ b/test/ble_client/Makefile @@ -5,21 +5,28 @@ CC = g++ BTSTACK_ROOT = ../.. CPPUTEST_HOME = ${BTSTACK_ROOT}/test/cpputest -CFLAGS = -g -Wall -I. -I${BTSTACK_ROOT}/example/libusb -I${BTSTACK_ROOT}/include -I$(CPPUTEST_HOME)/include +CFLAGS = -g -Wall -I. -I${BTSTACK_ROOT}/example/libusb -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/ble -I${BTSTACK_ROOT}/include -I$(CPPUTEST_HOME)/include LDFLAGS += -L$(CPPUTEST_HOME) -lCppUTest -lCppUTestExt COMMON = \ ${BTSTACK_ROOT}/example/libusb/ad_parser.c \ + ${BTSTACK_ROOT}/src/sdp_util.c \ + ${BTSTACK_ROOT}/src/utils.c \ + ${BTSTACK_ROOT}/ble/att.c \ + ${BTSTACK_ROOT}/example/libusb/ble_client.c \ COMMON_OBJ = $(COMMON:.c=.o) -all: ad_parser +all: ad_parser le_central ad_parser: ${CORE_OBJ} ${COMMON_OBJ} advertising_data_parser.c ${CC} ${CORE_OBJ} ${COMMON_OBJ} advertising_data_parser.c ${CFLAGS} ${LDFLAGS} -o $@ +le_central: ${CORE_OBJ} ${COMMON_OBJ} central.c + ${CC} ${CORE_OBJ} ${COMMON_OBJ} central.c ${CFLAGS} ${LDFLAGS} -o $@ + clean: - rm -f ad_parser + rm -f ad_parser le_central rm -f *.o ${BTSTACK_ROOT}/src/*.o rm -rf *.dSYM \ No newline at end of file