From e0aef5cb73339f0ebc678e9f659df90b3e80e967 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sun, 18 Nov 2012 22:25:09 +0000 Subject: [PATCH] fix compile of objective-c files --- src/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Makefile.in b/src/Makefile.in index a8f16d194..bc0166f77 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -30,6 +30,10 @@ BTdaemon_SOURCES = $(libBTstack_SOURCES) \ sdp.c \ $(springboard_access_sources) +# use $(CC) for Objective-C files +.m.o: + $(CC) $(CPPFLAGS) -c -o $@ $< + all: libBTstack.$(BTSTACK_LIB_EXTENSION) libBTstack.a BTdaemon libBTstack.$(BTSTACK_LIB_EXTENSION): $(libBTstack_SOURCES)