diff options
Diffstat (limited to 'tools/net/Makefile')
-rw-r--r-- | tools/net/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/net/Makefile b/tools/net/Makefile index b4444d53b73f..0f30d923afa0 100644 --- a/tools/net/Makefile +++ b/tools/net/Makefile @@ -2,14 +2,19 @@ prefix = /usr CC = gcc -all : bpf_jit_disasm +all : bpf_jit_disasm bpf_dbg bpf_jit_disasm : CFLAGS = -Wall -O2 bpf_jit_disasm : LDLIBS = -lopcodes -lbfd -ldl bpf_jit_disasm : bpf_jit_disasm.o +bpf_dbg : CFLAGS = -Wall -O2 +bpf_dbg : LDLIBS = -lreadline +bpf_dbg : bpf_dbg.o + clean : - rm -rf *.o bpf_jit_disasm + rm -rf *.o bpf_jit_disasm bpf_dbg install : install bpf_jit_disasm $(prefix)/bin/bpf_jit_disasm + install bpf_dbg $(prefix)/bin/bpf_dbg |