btstack/example/Makefile.in

34 lines
1.1 KiB
Makefile
Raw Normal View History

2009-09-30 20:42:47 +00:00
CC = @CC@
LDFLAGS = @LDFLAGS@ -lBTstack -L../src
CPPFLAGS = @CPPFLAGS@ -I../include
prefix = @prefix@
2010-01-25 19:46:00 +00:00
all: test mitm rfcomm inquiry l2cap-server
2009-09-30 20:42:47 +00:00
test: test.c
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
2010-01-25 19:46:00 +00:00
l2cap-server: l2cap-server.c
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
2009-09-30 20:42:47 +00:00
mitm: mitm.c
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
inquiry: inquiry.c
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
2009-09-30 20:42:47 +00:00
rfcomm: rfcomm.c
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
clean:
rm -f test mitm rfcomm inquiry l2cap-server
2009-09-30 20:42:47 +00:00
install:
echo "nothing to be done"