New files.
[elisp/flim.git] / FLIM-MK
1 ;;; -*-Emacs-Lisp-*-
2 ;;;
3 ;;; $Id: FLIM-MK,v 1.1 1998-04-13 13:08:14 morioka Exp $
4 ;;;
5
6 (defun config-flim ()
7   (let (prefix lisp-dir)
8     (and (setq prefix (car command-line-args-left))
9          (or (string-equal "NONE" prefix)
10              (defvar PREFIX prefix)
11              ))
12     (setq command-line-args-left (cdr command-line-args-left))
13     (and (setq lisp-dir (car command-line-args-left))
14          (or (string-equal "NONE" lisp-dir)
15              (defvar LISPDIR lisp-dir)
16              ))
17     (setq command-line-args-left (cdr command-line-args-left))
18     (load-file "FLIM-CFG")
19     (load-file "FLIM-ELS")
20     (princ (format "PREFIX=%s
21 LISPDIR=%s\n" PREFIX LISPDIR))
22     ))
23
24 (defun compile-flim ()
25   (config-flim)
26   (compile-elisp-modules flim-modules ".")
27   )
28
29 (defun install-flim ()
30   (config-flim)
31   (install-elisp-modules flim-modules "./" FLIM_DIR)
32   )
33
34 ;;; FLIM-MK ends here