]> git.saurik.com Git - apple/xnu.git/blame_incremental - tools/tests/jitter/Makefile
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / tools / tests / jitter / Makefile
... / ...
CommitLineData
1include ../Makefile.common
2
3DSTROOT?=$(shell /bin/pwd)
4SYMROOT?=$(shell /bin/pwd)
5OBJROOT?=$(shell /bin/pwd)
6
7CC:=$(shell xcrun -sdk "$(SDKROOT)" -find cc)
8
9CFLAGS:=$(ARCH_FLAGS) -g -Wall -Os -isysroot $(SDKROOT) -I$(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
10CFLAGS += -Wl,-sectcreate,__INFO_FILTER,__disable,/dev/null
11
12all: $(DSTROOT)/jitter
13
14$(DSTROOT)/jitter: timer_jitter.c
15 $(CC) -o $@ $^ $(CFLAGS)
16
17clean:
18 rm -f $(DSTROOT)/jitter $(OBJROOT)/*.o
19 rm -rf $(SYMROOT)/*.dSYM