aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-10-29 22:58:12 +0100
committerTeddy Wing2018-10-29 22:58:12 +0100
commit52ee9fc272d3cbc19a47b6903c884a58b171d043 (patch)
tree36f27e6532b8fd2cf4d85cb035ddee998fd4ad5c
parent223651a128363353dc0d7815171e0ba49000a764 (diff)
downloaddome-key-map-52ee9fc272d3cbc19a47b6903c884a58b171d043.tar.bz2
Makefile: Use `:=` instead of `=` on `SOURCE_FILES`
MadScientist (https://stackoverflow.com/users/939557/madscientist) on Stack Overflow says: > Also you should always use := not = for shell (and wildcard, for that > matter) for performance reasons. (https://stackoverflow.com/questions/26694249/makefiles-using-wildcard-vs-find-for-specifying-source-files/26694693#26694693)
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 611bc91..cc07bd4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-SOURCE_FILES = $(shell find src -type f -name '*.rs')
+SOURCE_FILES := $(shell find src -type f -name '*.rs')
LIB := target/debug/libdome_key_map.a