LISPDIR = /usr/share/emacs/20.7/lisp
EMACS   = emacs
OPTIONS = -batch -q -no-site-file -f batch-byte-compile
SRC     = cisco-mode.el
INSTALL = /usr/bin/install
SU      = sudo

all:
	$(EMACS) $(OPTIONS) $(SRC)


install:
	$(SU) $(INSTALL) -m 644 -o root -g root $(SRC)c $(LISPDIR)/


clean:
	rm -f *~ *.elc
