btstack/test/des_iterator/Makefile
2016-01-20 14:20:47 +01:00

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