xref: /btstack/port/windows-h4/Makefile (revision 4e630824c7dca7c1fc788695dd11e6601e8883d0)
1*4e630824SMatthias Ringwald# Makefile for windows-h4 examples
2*4e630824SMatthias RingwaldBTSTACK_ROOT = ../..
3*4e630824SMatthias Ringwald
4*4e630824SMatthias RingwaldCORE += main.c stdin_support.c
5*4e630824SMatthias Ringwald
6*4e630824SMatthias RingwaldCOMMON  += \
7*4e630824SMatthias Ringwald			btstack_run_loop_windows.c   \
8*4e630824SMatthias Ringwald			hci_transport_h4.c           \
9*4e630824SMatthias Ringwald			btstack_uart_block_windows.c \
10*4e630824SMatthias Ringwald			le_device_db_fs.c            \
11*4e630824SMatthias Ringwald			btstack_link_key_db_fs.c     \
12*4e630824SMatthias Ringwald
13*4e630824SMatthias Ringwaldinclude ${BTSTACK_ROOT}/example/Makefile.inc
14*4e630824SMatthias Ringwald
15*4e630824SMatthias Ringwald# CC = gcc-fsf-4.9
16*4e630824SMatthias RingwaldCFLAGS  += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Werror
17*4e630824SMatthias Ringwald# CFLAGS += -Werror
18*4e630824SMatthias Ringwald
19*4e630824SMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/platform/posix \
20*4e630824SMatthias Ringwald		  -I${BTSTACK_ROOT}/platform/embedded
21*4e630824SMatthias Ringwald
22*4e630824SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/embedded
23*4e630824SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/posix
24*4e630824SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/libusb
25*4e630824SMatthias Ringwald
26*4e630824SMatthias Ringwald# assume portaudio is installed in /usr/local
27*4e630824SMatthias Ringwald# CFLAGS  += -I/usr/local/include -DHAVE_PORTAUDIO
28*4e630824SMatthias Ringwald# LDFLAGS += -L/sw/lib -lportaudio
29*4e630824SMatthias Ringwald
30*4e630824SMatthias Ringwaldall: ${EXAMPLES}
31