1 include ../Makefile.common
3 CC:=$(shell xcrun -sdk "$(SDKROOT)" -find cc)
8 ifeq "$(Embedded)" "YES"
9 ARCHS:=armv7 armv7s arm64 armv7k
15 CFLAGS := -g $(patsubst %, -arch %, $(ARCHS)) -isysroot $(SDKROOT) -isystem $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
17 DSTROOT?=$(shell /bin/pwd)
18 SYMROOT?=$(shell /bin/pwd)
22 $(DSTROOT)/tlbcoh: TLBcoherency.c
23 $(CC) $(CFLAGS) -Wall TLBcoherency.c -o $(SYMROOT)/$(notdir $@) -DDEBUG=$(DEBUG) -g -Os
24 if [ ! -e $@ ]; then ditto $(SYMROOT)/$(notdir $@) $@; fi
27 rm -rf $(DSTROOT)/tlbcoh $(SYMROOT)/*.dSYM $(SYMROOT)/tlbcoh