1 include ../Makefile.common
3 OBJROOT?=$(shell /bin/pwd)
5 CC:=$(shell xcrun -sdk "$(SDKROOT)" -find cc)
10 ifeq "$(Embedded)" "YES"
11 ARCHS:=armv7 armv7s arm64
17 DSTROOT?=$(shell /bin/pwd)
19 CFLAGS:=$(patsubst %, -arch %,$(ARCHS)) -g -Wall -Os -isysroot $(SDKROOT) -framework CoreFoundation
21 all: $(DSTROOT)/mktimer_test
23 $(DSTROOT)/mktimer_test: $(OBJROOT)/mktimer_test.c
24 $(CC) -o $@ $^ $(CFLAGS)
27 rm -rf $(DSTROOT)/mktimer_test $(DSTROOT)/mk_timer_test.dSYM