1 # Makefile for Bluetooth test programs
3 OBJS
= simplescan rfcomm-server rfcomm-client sdp-search
5 CFLAGS
= -Wall
-W
-Wmissing-declarations
-Wmissing-prototypes
-g
-O0 \
6 -Wredundant-decls
-Wshadow
-Wbad-function-cast
-Wcast-qual
11 simplescan
: simplescan.c
12 $(CC
) $(CFLAGS
) -o
$@
$< $(LDFLAGS
)
14 rfcomm-server
: rfcomm-server.c
15 $(CC
) $(CFLAGS
) -o
$@
$< $(LDFLAGS
)
17 rfcomm-client
: rfcomm-client.c
18 $(CC
) $(CFLAGS
) -o
$@
$< $(LDFLAGS
)
20 sdp-search
: sdp-search.c
21 $(CC
) $(CFLAGS
) -o
$@
$< $(LDFLAGS
)