2 ifeq "$(RC_TARGET_CONFIG)" "iPhone"
5 Embedded?=$(shell echo $(SDKROOT) | grep -iq iphoneos && echo YES || echo NO)
8 DSTROOT?=$(shell /bin/pwd)
9 TARGETS := $(addprefix $(DSTROOT)/, measure_tlbs testsp)
10 CC:=xcrun -sdk "$(SDKROOT)" cc
15 ifeq "$(Embedded)" "YES"
23 CFLAGS += $(patsubst %, -arch %, $(ARCHS))
31 $(TARGETS): $(DSTROOT)/%: %.c
32 $(CC) $(CFLAGS) -o $@ $<