mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-09 06:46:36 +00:00
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
CC = @CC@
|
|
LDFLAGS = @LDFLAGS@ -lBTstack -L../src
|
|
CPPFLAGS = @CPPFLAGS@ -I../include
|
|
prefix = @prefix@
|
|
|
|
all: test mitm rfcomm inquiry l2cap-server
|
|
|
|
test: test.c
|
|
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
|
|
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
|
|
|
|
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 $@
|
|
|
|
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 $@
|
|
|
|
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
|
|
|
|
install:
|
|
echo "nothing to be done"
|
|
|