]>
Commit | Line | Data |
---|---|---|
4bd07ac2 A |
1 | include ../Makefile.common |
2 | ||
3 | CC:=$(shell xcrun -sdk "$(SDKROOT)" -find cc) | |
4 | ||
f427ee49 A |
5 | CFLAGS := -g $(ARCH_FLAGS) -isysroot $(SDKROOT) -isystem $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders |
6 | CFLAGS += -Wl,-sectcreate,__INFO_FILTER,__disable,/dev/null | |
4bd07ac2 A |
7 | |
8 | DSTROOT?=$(shell /bin/pwd) | |
9 | SYMROOT?=$(shell /bin/pwd) | |
10 | ||
11 | DEBUG:=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 | ||
17 | clean: | |
18 | rm -rf $(DSTROOT)/tlbcoh $(SYMROOT)/*.dSYM $(SYMROOT)/tlbcoh |