capstone/suite/benchmark/Makefile
2022-01-04 23:44:22 +08:00

18 lines
421 B
Makefile

# Sample Makefile for Capstone Disassembly Engine
LIBNAME = ../../build/libcapstone.a
all: test_iter_benchmark test_file_benchmark
test_iter_benchmark: test_iter_benchmark.c
${CC} $< -O3 -Wall -o $@ -I../../include $(LIBNAME)
test_file_benchmark: test_file_benchmark.c
${CC} $< -O3 -Wall -o $@ -I../../include $(LIBNAME)
# %.o: %.c
# ${CC} -c $< -o $@
clean:
rm -rf *.o test_iter_benchmark test_file_benchmark