summary refs log tree commit diff stats
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
parent28fc9fa53da1449498392f83d63a8502a5a958a3 (diff)
downloadaerc-7a8f4084ffed5e406e58a72619381ca1aad852db.tar.gz
Remove "wildcard" GNU-ism from Makefile
Signed-off-by: Sam Whited <sam@samwhited.com>
-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) \
#n128'>128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191