linux-sg2042/tools/net/Makefile

16 lines
264 B
Makefile

prefix = /usr
CC = gcc
all : bpf_jit_disasm
bpf_jit_disasm : CFLAGS = -Wall -O2
bpf_jit_disasm : LDLIBS = -lopcodes -lbfd -ldl
bpf_jit_disasm : bpf_jit_disasm.o
clean :
rm -rf *.o bpf_jit_disasm
install :
install bpf_jit_disasm $(prefix)/bin/bpf_jit_disasm