1CFLAGS=-O0 -g 2 3BINS=iTLB_benchmark dTLB_benchmark noploop 4OBJS=iTLB_benchmark.o dTLB_benchmark.o iTLB_benchmark_function.o 5OUTPUTS=$(BINS) $(OBJS) iTLB_benchmark_function.c noploop_branch.txt 6 7all: $(OUTPUTS) 8 9noploop: noploop.c 10 11noploop_branch.txt: noploop 12 ./find_loop_instructions.py $< > $@ 13 14iTLB_benchmark: iTLB_benchmark.o iTLB_benchmark_function.o 15 16dTLB_benchmark: dTLB_benchmark.o 17 18iTLB_benchmark_function.c: generateBenchmarkFunction.sh 19 ./generateBenchmarkFunction.sh > iTLB_benchmark_function.c 20 21clean: 22 rm -rf $(OUTPUTS) 23