diff --git a/Makefile b/Makefile index 56fd71d1..453445b9 100644 --- a/Makefile +++ b/Makefile @@ -12,22 +12,6 @@ build: resources @echo "@ Building ..." @go build $(FLAGS) -o $(TARGET) . -linux_arm: - @echo "@ Cross compiling for linux/arm-7" - @xgo -ldflags=$(LDFLAGS) --deps=$(PCAP) --depsargs="--with-pcap=linux" --targets=linux/arm-7 . - -linux_arm64: - @echo "@ Cross compiling for linux/arm64" - @xgo -ldflags=$(LDFLAGS) --deps=$(PCAP) --depsargs="--with-pcap=linux" --targets=linux/arm64 . - -linux_mips: - @echo "@ Cross compiling for linux/mips" - @xgo -ldflags=$(LDFLAGS) --deps=$(PCAP) --depsargs="--with-pcap=linux" --targets=linux/mips . - -linux_mips64: - @echo "@ Cross compiling for linux/mips64" - @xgo -ldflags=$(LDFLAGS) --deps=$(PCAP) --depsargs="--with-pcap=linux" --targets=linux/mips64 . - resources: oui oui: @@ -44,25 +28,9 @@ lint: deps: @go get -u github.com/jteeuwen/go-bindata/... - @go get github.com/ykyuen/xgo @go get ./... clean: @rm -rf bettercap-ng*.* @rm -rf bettercap-ng* - -clear_arp: - @ip -s -s neigh flush all - -bcast_ping: - @ping -b 255.255.255.255 - -release: - @./new_release.sh - -deadlock_detect_build: - @go get github.com/sasha-s/go-deadlock/... - @find . -name "*.go" | xargs sed -i "s/sync.Mutex/deadlock.Mutex/" - @goimports -w . - @git status - + @rm -rf build