Makefile: rename default to all

This commit is contained in:
Jason A. Donenfeld 2018-10-17 21:45:16 +02:00
parent 2e772194cf
commit 60848b9c72

View file

@ -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