btstack/SpringBoardAccess/Makefile.in

27 lines
624 B
Makefile
Raw Normal View History

NAME = SpringBoardAccess
2009-09-16 21:37:32 +00:00
CC = @CC@
OBJC = @OBJC@
LDFLAGS = @LDFLAGS@
CPPFLAGS = @CPPFLAGS@
2009-09-16 21:37:32 +00:00
LIB_LDFLAGS = -lobjc \
-multiply_defined suppress \
-framework CoreFoundation \
-framework Foundation \
-framework UIKit \
-L../3rdparty -lsubstrate
2009-09-16 21:37:32 +00:00
APP_LDFLAGS = -framework CoreFoundation
all: $(NAME).dylib $(NAME)-test
clean:
rm -f $(NAME).dylib $(NAME)-test
2009-09-16 21:37:32 +00:00
$(NAME).dylib: $(NAME).mm
$(OBJC) $(CPPFLAGS) -dynamiclib -o $@ $(NAME).mm -init _$(NAME)Initialize $(LDFLAGS) $(LIB_LDFLAGS)
$(NAME)-test: $(NAME)-test.c
$(OBJC) $(CPPFLAGS) -o $@ $(NAME)-test.c $(LDFLAGS) $(APP_LDFLAGS)