12412778bSmatthias.ringwaldCC=g++ 22412778bSmatthias.ringwald 38e8dfe94SMatthias Ringwald# Requirements: cpputest.github.io 42412778bSmatthias.ringwald 52412778bSmatthias.ringwaldBTSTACK_ROOT = ../.. 62412778bSmatthias.ringwaldCPPUTEST_HOME = ${BTSTACK_ROOT}/test/cpputest 72412778bSmatthias.ringwald 88e8dfe94SMatthias RingwaldCFLAGS = -g -Wall -I. -I../ -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/include 957fe2af8SMatthias RingwaldLDFLAGS += -lCppUTest -lCppUTestExt 1057fe2af8SMatthias Ringwald 11*3edc84c5SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/src/ble 1257fe2af8SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/src 13*3edc84c5SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/posix/src 142412778bSmatthias.ringwald 152412778bSmatthias.ringwaldCOMMON = \ 1657fe2af8SMatthias Ringwald linked_list.c \ 172412778bSmatthias.ringwald 182412778bSmatthias.ringwaldCOMMON_OBJ = $(COMMON:.c=.o) 192412778bSmatthias.ringwald 202412778bSmatthias.ringwaldall: linked_list_test 212412778bSmatthias.ringwald 222412778bSmatthias.ringwaldlinked_list_test: ${COMMON_OBJ} linked_list_test.c 232412778bSmatthias.ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 242412778bSmatthias.ringwald 258e8dfe94SMatthias Ringwaldtest: all 2657fe2af8SMatthias Ringwald ./linked_list_test 2757fe2af8SMatthias Ringwald 282412778bSmatthias.ringwaldclean: 292412778bSmatthias.ringwald rm -fr linked_list_test *.dSYM *.o ../src/*.o 302412778bSmatthias.ringwald 31