From 99dacbbf52f005b1da35a4f2912834f2f80acdef Mon Sep 17 00:00:00 2001 From: Akib Azmain Turja Date: Thu, 24 Nov 2022 14:31:21 +0600 Subject: [PATCH] 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 a0e2566..6b3fe0f 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ # see . 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