aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2019-05-29 13:57:17 -0500
committerDrew DeVault <sir@cmpwn.com>2019-05-30 10:27:13 -0400
commit7a8f4084ffed5e406e58a72619381ca1aad852db (patch)
treee8625bbc88a46f37d02d974b58b3a5f1182de63b /Makefile
parent28fc9fa53da1449498392f83d63a8502a5a958a3 (diff)
Remove "wildcard" GNU-ism from Makefile
Signed-off-by: Sam Whited <sam@samwhited.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 2 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index 0fb0217..3a20fc8 100644
--- a/Makefile
+++ b/Makefile
@@ -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) \