mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
b4f8a9e18e
commit
53c2bf7ff3
1 changed files with 3 additions and 5 deletions
8
Makefile
8
Makefile
|
@ -1,6 +1,4 @@
|
||||||
TARGET=bettercap-ng
|
TARGET=bettercap-ng
|
||||||
PCAP=http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz
|
|
||||||
LDFLAGS='-linkmode external -extldflags "-static -s -w"'
|
|
||||||
|
|
||||||
all: fmt vet build
|
all: fmt vet build
|
||||||
@echo "@ Done"
|
@echo "@ Done"
|
||||||
|
@ -10,7 +8,7 @@ test: build
|
||||||
|
|
||||||
build: resources
|
build: resources
|
||||||
@echo "@ Building ..."
|
@echo "@ Building ..."
|
||||||
@go build $(FLAGS) -o $(TARGET) .
|
@go build -o $(TARGET) .
|
||||||
|
|
||||||
resources: oui
|
resources: oui
|
||||||
|
|
||||||
|
@ -31,6 +29,6 @@ deps:
|
||||||
@go get ./...
|
@go get ./...
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf bettercap-ng*.*
|
@rm -rf $(TARGET).*
|
||||||
@rm -rf bettercap-ng*
|
@rm -rf $(TARGET)*
|
||||||
@rm -rf build
|
@rm -rf build
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue