diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-14 09:52:23 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-14 09:52:23 +0200 |
commit | e7a4df4ad04a3776923b6be37c565803d8f0badc (patch) | |
tree | 7184257083a3be38ba833f3df1d84ef339156d86 /Makefile | |
parent | global: regroup all imports (diff) | |
download | wireguard-windows-e7a4df4ad04a3776923b6be37c565803d8f0badc.tar.xz wireguard-windows-e7a4df4ad04a3776923b6be37c565803d8f0badc.zip |
makefile: use CURDIR not PWD for -C operation
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |