aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-14 09:52:23 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-14 09:52:23 +0200
commit34b44e18afd1f1f817cefe7804da5b4dd77a792b (patch)
tree7184257083a3be38ba833f3df1d84ef339156d86 /Makefile
parentglobal: regroup all imports (diff)
downloadwireguard-windows-34b44e18afd1f1f817cefe7804da5b4dd77a792b.tar.xz
wireguard-windows-34b44e18afd1f1f817cefe7804da5b4dd77a792b.zip
makefile: use CURDIR not PWD for -C operation
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0ddcd353..d0cd21f7 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ export CGO_ENABLED := 1
export CGO_CFLAGS := -O3 -Wall -Wno-switch -std=gnu11 -DWINVER=0x0601
export GOOS := windows
OLD_GOROOT := $(GOROOT)
-export GOROOT := $(PWD)/.deps/goroot
+export GOROOT := $(CURDIR)/.deps/goroot
rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
SOURCE_FILES := $(call rwildcard,,*.go *.c *.h) .deps/prepared