Berkeley Packet Filter (BPF) assembler. https://godoc.org/maze.io/x/bpf
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 337B

12345678910111213
  1. all: build
  2. build: build-linux build-darwin build-windows
  3. build-linux:
  4. GOOS=linux GOARCH=amd64 go build -v -o build/bpfasm
  5. build-darwin:
  6. GOOS=darwin GOARCH=amd64 go build -v -o build/bpfasm-darwin
  7. build-windows:
  8. GOOS=windows GOARCH=amd64 go build -v -o build/bpfasm.exe
  9. GOOS=windows GOARCH=386 go build -v -o build/bpfasm-x86.exe