branch: elpa/eat
commit 99dacbbf52f005b1da35a4f2912834f2f80acdef
Author: Akib Azmain Turja <a...@disroot.org>
Commit: Akib Azmain Turja <a...@disroot.org>

    Add proper dependencies to targets in Makefile
    
    * Makefile (TIC): New variable.
    * Makefile (eat.elc): Depend on eat.el.
    * Makefile (e/eat-mono, e/eat-color, eat-256color)
    (e/eat-truecolor): Depend on eat.ti.
---
 Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index a0e2566934..6b3fe0fd3a 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,7 @@
 # see <https://www.gnu.org/licenses/>.
 
 EMACS ?= emacs
+TIC ?= tic
 
 all: eat.elc terminfo check changelog
 
@@ -32,8 +33,8 @@ changelog:
 
 .PHONY: all terminfo check changelog
 
-eat.elc:
+eat.elc: eat.el
        $(EMACS) -batch --eval '(byte-compile-file "eat.el")'
 
-e/eat-mono e/eat-color eat-256color e/eat-truecolor:
-       env TERMINFO=. tic -x eat.ti
+e/eat-mono e/eat-color eat-256color e/eat-truecolor: eat.ti
+       env TERMINFO=. $(TIC) -x eat.ti

Reply via email to