Makefile (28b5b606bb68f9cd966b493d261e908fe684c727) | Makefile (ae970bb91d228f4ea1065b8e4dd6ed1a861e278e) |
---|---|
1CC = g++ 2 3# Requirements: cpputest.github.io 4 5BTSTACK_ROOT = ../.. 6 | 1CC = g++ 2 3# Requirements: cpputest.github.io 4 5BTSTACK_ROOT = ../.. 6 |
7CFLAGS = -DUNIT_TEST -x c++ -g -Wall -Wnarrowing -Wconversion-null -I. -I../ -I${BTSTACK_ROOT}/src | 7CFLAGS = -DUNIT_TEST -x c++ -g -Wall -Wnarrowing -Wconversion-null -I. -I../ 8CFLAGS += -I${BTSTACK_ROOT}/src 9CFLAGS += -I${BTSTACK_ROOT}/3rd-party/rijndael |
8CFLAGS += -fprofile-arcs -ftest-coverage 9LDFLAGS += -lCppUTest -lCppUTestExt 10 11VPATH += ${BTSTACK_ROOT}/src 12VPATH += ${BTSTACK_ROOT}/src/ble 13VPATH += ${BTSTACK_ROOT}/src/ble/gatt-service 14VPATH += ${BTSTACK_ROOT}/platform/posix | 10CFLAGS += -fprofile-arcs -ftest-coverage 11LDFLAGS += -lCppUTest -lCppUTestExt 12 13VPATH += ${BTSTACK_ROOT}/src 14VPATH += ${BTSTACK_ROOT}/src/ble 15VPATH += ${BTSTACK_ROOT}/src/ble/gatt-service 16VPATH += ${BTSTACK_ROOT}/platform/posix |
17VPATH += ${BTSTACK_ROOT}/3rd-party/rijndael |
|
15 16COMMON = \ 17 ad_parser.c \ | 18 19COMMON = \ 20 ad_parser.c \ |
18 att_server.c \ | |
19 att_db.c \ | 21 att_db.c \ |
22 att_db_util.c \ |
|
20 att_dispatch.c \ | 23 att_dispatch.c \ |
24 att_server.c \ 25 battery_service_server.c \ 26 btstack_crypto.c \ |
|
21 btstack_linked_list.c \ 22 btstack_memory.c \ 23 btstack_memory_pool.c \ | 27 btstack_linked_list.c \ 28 btstack_memory.c \ 29 btstack_memory_pool.c \ |
24 btstack_util.c \ 25 hci_cmd.c \ 26 hci_dump.c \ 27 le_device_db_memory.c \ 28 mock.c \ | |
29 btstack_tlv.c \ | 30 btstack_tlv.c \ |
30 battery_service_server.c \ | 31 btstack_util.c \ |
31 cycling_power_service_server.c \ 32 cycling_speed_and_cadence_service_server.c \ 33 device_information_service_server.c \ | 32 cycling_power_service_server.c \ 33 cycling_speed_and_cadence_service_server.c \ 34 device_information_service_server.c \ |
35 hci_cmd.c \ 36 hci_dump.c \ |
|
34 heart_rate_service_server.c \ 35 hids_device.c \ | 37 heart_rate_service_server.c \ 38 hids_device.c \ |
39 le_device_db_memory.c \ 40 mock.c \ |
|
36 nordic_spp_service_server.c \ | 41 nordic_spp_service_server.c \ |
42 rijndael.c \ |
|
37 ublox_spp_service_server.c \ 38 39COMMON_OBJ = $(COMMON:.c=.o) 40 41all: gatt_server_test 42 43# compile .ble description 44profile.h: profile.gatt --- 14 unchanged lines hidden --- | 43 ublox_spp_service_server.c \ 44 45COMMON_OBJ = $(COMMON:.c=.o) 46 47all: gatt_server_test 48 49# compile .ble description 50profile.h: profile.gatt --- 14 unchanged lines hidden --- |