1 include ../Makefile.common
3 DSTROOT?=$(shell /bin/pwd)
4 SYMROOT?=$(shell /bin/pwd)
5 OBJROOT?=$(shell /bin/pwd)
7 CC:=$(shell xcrun -sdk "$(SDKROOT)" -find cc)
9 CFLAGS:=$(ARCH_FLAGS) -g -Wall -Os -isysroot $(SDKROOT) -I$(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders -lkdd -framework Foundation
11 all: $(DSTROOT)/kernpost_test_report
13 $(DSTROOT)/kernpost_test_report: kernpost_test_report.m
14 $(CC) -o $@ $^ $(subst -arch i386,,$(CFLAGS))
17 rm -f $(DSTROOT)/kernpost_test_report $(OBJROOT)/*.o
18 rm -rf $(SYMROOT)/*.dSYM