fix compile of objective-c files

This commit is contained in:
matthias.ringwald 2012-11-18 22:25:09 +00:00
parent 6d0d90bb05
commit e0aef5cb73

View File

@ -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)