fix compile

This commit is contained in:
Matthias Ringwald 2015-11-14 23:27:21 +01:00
parent 045ba8fec0
commit 00cae490be
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,5 @@
# Makefile for libusb based examples
BTSTACK_ROOT = ../..
POSIX_ROOT= ${BTSTACK_ROOT}/platform/posix
CORE += main.c stdin_support.c
@ -12,7 +11,7 @@ include ${BTSTACK_ROOT}/example/embedded/Makefile.inc
CFLAGS += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Werror
# CFLAGS += -Werror
CFLAGS += -I${POSIX_ROOT}/src \
CFLAGS += -I${BTSTACK_ROOT}/platform/posix/src \
-I${BTSTACK_ROOT}/platform/embedded
VPATH += ${BTSTACK_ROOT}/platform/embedded

View File

@ -9,6 +9,7 @@ include ${BTSTACK_ROOT}/example/embedded/Makefile.inc
CFLAGS += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Werror \
-I${BTSTACK_ROOT}/platform/posix/src \
-I${BTSTACK_ROOT}/platform/embedded \
-I${BTSTACK_ROOT}/port/libusb
VPATH += ${BTSTACK_ROOT}/platform/posix/src