From b4f8a9e18e6088396db752d9a41de9f7083e2160 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Sun, 11 Feb 2018 18:58:52 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- Makefile | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) 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