btstack/test/des_iterator/Makefile
2015-10-11 23:31:11 +02:00

32 lines
598 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}/ble
VPATH += ${BTSTACK_ROOT}/src
VPATH += ${BTSTACK_ROOT}/platforms/posix/src
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