btstack/port/ios/example/Makefile
Matthias Ringwald a046efa634 ios: fix build
2016-10-25 11:47:20 +02:00

33 lines
1.3 KiB
Makefile

# lipoplastic setup for armv6 + arm64 compilation
TARGET := iphone:clang
THEOS_PLATFORM_SDK_ROOT_armv6 = /Applications/Xcode-4.4.1.app/Contents/Developer
SDKVERSION_armv6 = 5.1
TARGET_IPHONEOS_DEPLOYMENT_VERSION = 3.0
TARGET_IPHONEOS_DEPLOYMENT_VERSION_arm64 = 7.0
ARCHS = armv6 arm64
BTSTACK_ROOT=../../..
# VPATH += $(BTSTACK_ROOT)/platform/daemon/example
ADDITIONAL_CFLAGS = -I.. \
-I$(BTSTACK_ROOT)/src \
-I$(BTSTACK_ROOT)/platform/daemon/src \
-I$(BTSTACK_ROOT)/platform/posix \
-I$(BTSTACK_ROOT)/platform/corefoundation \
ADDITIONAL_LDFLAGS = -L../src/.theos/obj -lBTstack
TOOL_NAME = inquiry l2cap_test rfcomm_echo rfcomm_cat rfcomm_test l2cap_server l2cap_throughput
inquiry_FILES = $(BTSTACK_ROOT)/platform/daemon/example/inquiry.c
rfcomm_echo_FILES = $(BTSTACK_ROOT)/platform/daemon/example/rfcomm_echo.c
rfcomm_cat_FILES = $(BTSTACK_ROOT)/platform/daemon/example/rfcomm_cat.c
rfcomm_test_FILES = $(BTSTACK_ROOT)/platform/daemon/example/rfcomm_test.c
l2cap_test_FILES = $(BTSTACK_ROOT)/platform/daemon/example/test.c
l2cap_server_FILES = $(BTSTACK_ROOT)/platform/daemon/example/l2cap_server.c
l2cap_throughput_FILES = $(BTSTACK_ROOT)/platform/daemon/example/l2cap_throughput.c
include $(THEOS)/makefiles/common.mk
include $(THEOS_MAKE_PATH)/tool.mk