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)
9 CFLAGS:=$(ARCH_FLAGS) -g -Wall -Os -isysroot $(SDKROOT) -I$(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
10 CFLAGS += -Wl,-sectcreate,__INFO_FILTER,__disable,/dev/null
12 all: $(DSTROOT)/jitter
14 $(DSTROOT)/jitter: timer_jitter.c
15 $(CC) -o $@ $^ $(CFLAGS)
18 rm -f $(DSTROOT)/jitter $(OBJROOT)/*.o
19 rm -rf $(SYMROOT)/*.dSYM