diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-03-01 06:17:46 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-03-01 06:17:46 +0000 |
| commit | f115e4627966ae900aef55cb10f9e6207dbe7adf (patch) | |
| tree | 0718fd859aa8995889a1d7b7a5dc9007c39767df /Makefile | |
Initial revision
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a1eaa78 --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +DIRS = $(shell find . ! -name CVS -type d) +SPECIAL = chess-auto.el +SOURCE = $(filter-out $(SPECIAL),$(shell find -name '*.el')) +TARGET = $(patsubst %.el,%.elc,$(SPECIAL) $(SOURCE)) +EMACS = emacs + +all: $(TARGET) + -rm subdirs.elc + +chess-auto.el: chess-auto.in $(SOURCE) + cp chess-auto.in chess-auto.el + -rm chess-auto.elc + $(EMACS) --no-init-file --no-site-file -batch \ + -l $(shell pwd)/chess-auto \ + -f generate-autoloads \ + $(shell pwd)/chess-auto.el $(DIRS) + +%.elc: %.el + $(EMACS) --no-init-file --no-site-file -batch \ + -f batch-byte-compile $< + +clean: + rm -f $(TARGET) *~ + +fullclean: clean + -rm *.elc chess-auto.el |
