]> git.saurik.com Git - apple/xnu.git/blob - tools/tests/jitter/Makefile
xnu-7195.101.1.tar.gz
[apple/xnu.git] / tools / tests / jitter / Makefile
1 include ../Makefile.common
2
3 DSTROOT?=$(shell /bin/pwd)
4 SYMROOT?=$(shell /bin/pwd)
5 OBJROOT?=$(shell /bin/pwd)
6
7 CC:=$(shell xcrun -sdk "$(SDKROOT)" -find cc)
8
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
11
12 all: $(DSTROOT)/jitter
13
14 $(DSTROOT)/jitter: timer_jitter.c
15 $(CC) -o $@ $^ $(CFLAGS)
16
17 clean:
18 rm -f $(DSTROOT)/jitter $(OBJROOT)/*.o
19 rm -rf $(SYMROOT)/*.dSYM