diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -36,8 +36,9 @@ CGO_ENABLED = 1 export CGO_ENABLED cgo_variables = CGO_ENABLED CGO_CFLAGS CGO_CPPFLAGS CGO_CXXFLAGS CGO_LDFLAGS CC CXX -goext = c s S cc cpp cxx h hh hpp hxx -gosrc = $(shell find -L src -name '.*' -prune -o \( -type f \( $(foreach e,$(goext), -name '*.$e' ) \) -o -type d \) -print) +goext = go c s S cc cpp cxx h hh hpp hxx +gosrc_cmd = find -L src -name '.*' -prune -o \( -type f \( -false $(foreach e,$(goext),-o -name '*.$e') \) -o -type d \) -print +gosrc = $(shell $(gosrc_cmd)) GOPATH := $(realpath $(dir $(lastword $(MAKEFILE_LIST)))) |