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