From 3b80ba2214970258768d78d1920312a53288a6cc Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 22 Jun 2022 01:04:38 +0530 Subject: Add Makefile. * Makefile: New file. --- Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c96693c --- /dev/null +++ b/Makefile @@ -0,0 +1,34 @@ +# thogai.el --- Stenotyping software + +# Stenotyping software for Emacs +# Copyright © 2022 Arun Isaac + +# This file is part of thogai. + +# thogai is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# thogai is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with thogai. If not, see . + +EMACS = emacs +PYTHON = python3 + +.DELETE_ON_ERROR: + +.PHONY: build clean +build: thogai-english-orthography.el + $(EMACS) -Q --batch -L . --eval="(progn (setq byte-compile-debug t byte-compile-error-on-warn t) (byte-recompile-directory \".\" 0))" + +thogai-english-orthography.el: english-orthography.py + $(PYTHON) $< $(PLOVER_SOURCE) > $@ + +clean: + rm -vf thogai-english-orthography.el *.elc -- cgit v1.2.3