about summary refs log tree commit diff stats
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)
downloadaerc-7a8f4084ffed5e406e58a72619381ca1aad852db.tar.gz
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) \
le='Blame the previous revision' href='/akkartik/mu/blame/html/999spaces.cc.html?h=hlt&id=8fa6bf9360950ec4feef73502af8b65ba924f24a'>^
762b099e ^


9542bb11 ^
2187d42a ^
f6b44306 ^











2187d42a ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70