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

View file

@ -5,21 +5,8 @@ SHAREDIR?=$(_INSTDIR)/share/aerc
MANDIR?=$(_INSTDIR)/share/man MANDIR?=$(_INSTDIR)/share/man
GOFLAGS?= GOFLAGS?=
GOSRC := \ GOSRC!=find -name '*.go'
$(wildcard *.go) \ GOSRC+=go.mod go.sum
$(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
aerc: $(GOSRC) aerc: $(GOSRC)
go build $(GOFLAGS) \ go build $(GOFLAGS) \