]> git.saurik.com Git - apple/xnu.git/blob - tools/tests/jitter/Makefile
xnu-1699.26.8.tar.gz
[apple/xnu.git] / tools / tests / jitter / Makefile
1
2 ARCHS=x86_64 i386
3 SDKROOT=/
4 CC=xcrun -sdk "$(SDKROOT)" cc
5 CFLAGS=$(patsubst %, -arch %,$(ARCHS)) -g -Wall -Os -isysroot $(SDKROOT)
6
7 all: jitter
8
9 timer_jitter.o: timer_jitter.c
10 $(CC) -c -o $@ $< $(CFLAGS)
11
12 cpu_number.o: cpu_number.s
13 $(CC) -c -o $@ $< $(CFLAGS)
14
15 jitter: timer_jitter.o cpu_number.o
16 $(CC) -o $@ $^ $(CFLAGS)