mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
32 lines
600 B
Makefile
32 lines
600 B
Makefile
CC = g++
|
|
|
|
# Requirements: cpputest.github.io
|
|
|
|
BTSTACK_ROOT = ../..
|
|
|
|
CFLAGS = -g -Wall -I.. -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/include
|
|
LDFLAGS += -lCppUTest -lCppUTestExt
|
|
|
|
VPATH += ${BTSTACK_ROOT}/src
|
|
VPATH += ${BTSTACK_ROOT}/src/classic
|
|
VPATH += ${BTSTACK_ROOT}/platform/posix
|
|
|
|
COMMON = \
|
|
sdp_util.c \
|
|
hci_dump.c \
|
|
utils.c
|
|
|
|
COMMON_OBJ = $(COMMON:.c=.o)
|
|
|
|
all: des_iterator_test
|
|
|
|
des_iterator_test: ${COMMON_OBJ} des_iterator_test.c
|
|
${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@
|
|
|
|
test: all
|
|
./des_iterator_test
|
|
|
|
clean:
|
|
rm -f des_iterator_test *.o
|
|
rm -rf *.dSYM
|
|
|