Merge branch 'master' of git.zx2c4.com:wireguard-go
This commit is contained in:
commit
22c83f4b8d
13
src/Makefile
13
src/Makefile
|
@ -1,9 +1,12 @@
|
||||||
BINARY=wireguard-go
|
all: wireguard-go
|
||||||
|
|
||||||
build:
|
wireguard-go: $(wildcard *.go)
|
||||||
go build -o ${BINARY}
|
go build -o $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
if [ -f ${BINARY} ]; then rm ${BINARY}; fi
|
rm -f wireguard-go
|
||||||
|
|
||||||
.PHONY: clean
|
cloc:
|
||||||
|
cloc $(filter-out xchacha20.go $(wildcard *_test.go), $(wildcard *.go))
|
||||||
|
|
||||||
|
.PHONY: clean cloc
|
||||||
|
|
Loading…
Reference in a new issue