]> git.saurik.com Git - apple/xnu.git/blame - tools/tests/TLBcoherency/Makefile
xnu-7195.101.1.tar.gz
[apple/xnu.git] / tools / tests / TLBcoherency / Makefile
CommitLineData
4bd07ac2
A
1include ../Makefile.common
2
3CC:=$(shell xcrun -sdk "$(SDKROOT)" -find cc)
4
f427ee49
A
5CFLAGS := -g $(ARCH_FLAGS) -isysroot $(SDKROOT) -isystem $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
6CFLAGS += -Wl,-sectcreate,__INFO_FILTER,__disable,/dev/null
4bd07ac2
A
7
8DSTROOT?=$(shell /bin/pwd)
9SYMROOT?=$(shell /bin/pwd)
10
11DEBUG:=0
12
13$(DSTROOT)/tlbcoh: TLBcoherency.c
14 $(CC) $(CFLAGS) -Wall TLBcoherency.c -o $(SYMROOT)/$(notdir $@) -DDEBUG=$(DEBUG) -g -Os
15 if [ ! -e $@ ]; then ditto $(SYMROOT)/$(notdir $@) $@; fi
16
17clean:
18 rm -rf $(DSTROOT)/tlbcoh $(SYMROOT)/*.dSYM $(SYMROOT)/tlbcoh