68d1fac515a9d569247a83ffef47e0e66a3af8ea
[elisp/tm.git] / Makefile.bc
1 #
2 # $Id: Makefile.bc,v 4.0 1995/04/27 21:05:48 morioka Exp $
3 #
4
5 TM_EL   = signature.el \
6         tiny-mime.el tm-misc.el tm-$(EMACS_TYPE).el \
7         tm-view.el tm-rich.el tm-ftp.el tm-latex.el tm-partial.el \
8         tm-rmail.el \
9         tm-comp.el
10 TM_ELC  = ${TM_EL:el=elc}
11 ALL_EL  = $(TM_EL) tm-vm.el tm-setup.el mime-setup.el
12
13 .SUFFIXES:      .el .elc
14
15 .el.elc:
16         $(EMACS) -batch -l .lpath.el -f batch-byte-compile $<
17
18
19 all:    $(TM_ELC)
20
21 $(TM_ELC):
22
23 install:
24         -(cd $(TMDIR); chmod +w $(ALL_EL))
25         cp -p $(ALL_EL) $(TMDIR)
26         mv $(TM_ELC) $(TMDIR)
27
28
29 clean:
30         -rm *.elc