btstack/example/Makefile.in

26 lines
739 B
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@
all: test mitm rfcomm
test: test.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 $@
rfcomm: rfcomm.c
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
clean:
2009-10-02 06:10:15 +00:00
rm -f test mitm rfcomm
2009-09-30 20:42:47 +00:00
install:
echo "nothing to be done"