mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-17 04:49:46 +00:00
18 lines
421 B
Makefile
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
|