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.
This commit is contained in:
Akib Azmain Turja 2022-11-24 14:31:21 +06:00
parent 06e45d68b9
commit 99dacbbf52
No known key found for this signature in database
GPG key ID: 5535FCF54D88616B

View file

@ -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