1 include ../Makefile.common
3 DSTROOT?=$(shell /bin/pwd)
4 SYMROOT?=$(shell /bin/pwd)
5 OBJROOT?=$(shell /bin/pwd)
7 CC:=$(shell xcrun -sdk "$(SDKROOT)" -find cc)
12 ifeq "$(Embedded)" "YES"
13 ARCHS:=armv7 armv7s arm64
20 CFLAGS:=$(patsubst %, -arch %,$(ARCHS)) -g -Wall -Os -isysroot $(SDKROOT) -I$(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
22 all: $(DSTROOT)/jitter
24 $(DSTROOT)/jitter: timer_jitter.c
25 $(CC) -o $@ $^ $(CFLAGS)
28 rm -f $(DSTROOT)/jitter $(OBJROOT)/*.o
29 rm -rf $(SYMROOT)/*.dSYM