Home | History | Annotate | Download | only in src
      1 CFLAGS=-O0 -g
      2 # Force to use gcc to build it. Clang upstream bug is at
      3 # https://llvm.org/bugs/show_bug.cgi?id=25416
      4 CC=${CHOST}-gcc
      5 
      6 BINS=iTLB_benchmark
      7 OBJS=iTLB_benchmark.o iTLB_benchmark_function.o
      8 OUTPUTS=$(BINS) $(OBJS) iTLB_benchmark_function.c
      9 
     10 all: $(OUTPUTS)
     11 
     12 iTLB_benchmark: iTLB_benchmark.o iTLB_benchmark_function.o
     13 
     14 iTLB_benchmark_function.c: generateBenchmarkFunction.sh
     15 	./generateBenchmarkFunction.sh 4096 1024 > iTLB_benchmark_function.c
     16 
     17 clean:
     18 	rm -rf $(OUTPUTS)
     19