btstack/example/Makefile.in
2014-09-04 15:29:15 +00:00

35 lines
784 B
Makefile

CC = @CC@
LDFLAGS = @LDFLAGS@ -lBTstack -L../src
CPPFLAGS = @CPPFLAGS@ -I.. -I../include
prefix = @prefix@
all: test rfcomm-cat rfcomm-echo rfcomm-test inquiry l2cap-server l2cap-throughput
test: test.c
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
l2cap-server: l2cap-server.c
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
l2cap-throughput: l2cap-throughput.c
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
inquiry: inquiry.c
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
rfcomm-cat: rfcomm-cat.c
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
rfcomm-echo: rfcomm-echo.c
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
rfcomm-test: rfcomm-test.c
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
clean:
rm -f test mitm rfcomm-cat rfcomm-echo inquiry l2cap-server l2cap-throughput obex
install:
echo "nothing to be done"