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