Remove "wildcard" GNU-ism from Makefile

Signed-off-by: Sam Whited <sam@samwhited.com>
This commit is contained in:
Sam Whited 2019-05-29 13:57:17 -05:00 committed by Drew DeVault
parent 28fc9fa53d
commit 7a8f4084ff
1 changed files with 2 additions and 15 deletions

View File

@ -5,21 +5,8 @@ SHAREDIR?=$(_INSTDIR)/share/aerc
MANDIR?=$(_INSTDIR)/share/man
GOFLAGS?=
GOSRC := \
$(wildcard *.go) \
$(wildcard commands/*.go) \
$(wildcard commands/account/*.go) \
$(wildcard commands/compose/*.go) \
$(wildcard commands/msgview/*.go) \
$(wildcard config/terminal/*.go) \
$(wildcard lib/*.go) \
$(wildcard lib/ui/*.go) \
$(wildcard ui/*.go) \
$(wildcard widgets/*.go) \
$(wildcard worker/*.go) \
$(wildcard worker/imap/*.go) \
$(wildcard worker/types/*.go) \
go.mod go.sum
GOSRC!=find -name '*.go'
GOSRC+=go.mod go.sum
aerc: $(GOSRC)
go build $(GOFLAGS) \