mirror of
https://git.zx2c4.com/wireguard-go
synced 2024-11-15 01:05:15 +01:00
Makefile: rename default to all
This commit is contained in:
parent
2e772194cf
commit
60848b9c72
4
Makefile
4
Makefile
@ -4,7 +4,7 @@ BINDIR ?= $(PREFIX)/bin
|
|||||||
export GOPATH ?= $(CURDIR)/.gopath
|
export GOPATH ?= $(CURDIR)/.gopath
|
||||||
export GO111MODULE := on
|
export GO111MODULE := on
|
||||||
|
|
||||||
default: generate-version-and-build
|
all: generate-version-and-build
|
||||||
|
|
||||||
ifeq ($(shell go env GOOS)|$(wildcard .git),linux|)
|
ifeq ($(shell go env GOOS)|$(wildcard .git),linux|)
|
||||||
$(error Do not build this for Linux. Instead use the Linux kernel module. See wireguard.com/install/ for more info.)
|
$(error Do not build this for Linux. Instead use the Linux kernel module. See wireguard.com/install/ for more info.)
|
||||||
@ -39,4 +39,4 @@ install: wireguard-go
|
|||||||
clean:
|
clean:
|
||||||
rm -f wireguard-go
|
rm -f wireguard-go
|
||||||
|
|
||||||
.PHONY: default clean install generate-version-and-build
|
.PHONY: all clean install generate-version-and-build
|
||||||
|
Loading…
Reference in New Issue
Block a user