1CC=g++ 2 3# Requirements: cpputest.github.io 4 5BTSTACK_ROOT = ../.. 6CPPUTEST_HOME = ${BTSTACK_ROOT}/test/cpputest 7 8CFLAGS = -g -Wall -I. -I../ -I${BTSTACK_ROOT}/src 9LDFLAGS += -lCppUTest -lCppUTestExt 10 11VPATH += ${BTSTACK_ROOT}/src 12 13COMMON_OBJ = \ 14 btstack_base64_decoder.o \ 15 btstack_util.o \ 16 hci_dump.o \ 17 18all: base64_decoder_test 19 20base64_decoder_test: ${COMMON_OBJ} base64_decoder_test.o 21 ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 22 23test: all 24 ./base64_decoder_test 25 26clean: 27 rm -fr base64_decoder_test *.dSYM *.o 28