File: Makefile

package info (click to toggle)
capstone 5.0.7-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 58,212 kB
  • sloc: ansic: 96,103; cpp: 67,489; cs: 29,510; python: 25,829; pascal: 24,412; java: 15,582; ml: 14,473; makefile: 1,274; sh: 479; ruby: 386
file content (17 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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