xref: /aosp_15_r20/external/capstone/suite/benchmark/Makefile (revision 9a0e4156d50a75a99ec4f1653a0e9602a5d45c18)
1# Sample Makefile for Capstone Disassembly Engine
2
3LIBNAME = capstone
4
5test_iter_benchmark: test_iter_benchmark.o
6	${CC} $< -O3 -Wall -l$(LIBNAME) -o $@
7
8%.o: %.c
9	${CC} -c -I../../include $< -o $@
10
11clean:
12	rm -rf *.o test_iter_benchmark
13