Daniel Borkmann | e306e2c | 2013-03-20 12:11:47 +0000 | [diff] [blame^] | 1 | prefix = /usr |
2 | |||||
3 | CC = gcc | ||||
4 | |||||
5 | all : bpf_jit_disasm | ||||
6 | |||||
7 | bpf_jit_disasm : CFLAGS = -Wall -O2 | ||||
8 | bpf_jit_disasm : LDLIBS = -lopcodes -lbfd -ldl | ||||
9 | bpf_jit_disasm : bpf_jit_disasm.o | ||||
10 | |||||
11 | clean : | ||||
12 | rm -rf *.o bpf_jit_disasm | ||||
13 | |||||
14 | install : | ||||
15 | install bpf_jit_disasm $(prefix)/bin/bpf_jit_disasm |