From 5291aa174c65d182116f8879ff6a124bae14a21a Mon Sep 17 00:00:00 2001 From: ueno Date: Mon, 25 Mar 2002 12:01:40 +0000 Subject: [PATCH] Use ?= to set variables which may be imported from upper-level Makefiles. --- lisp/Makefile.lisp | 35 +++++++++++++---------------------- 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/lisp/Makefile.lisp b/lisp/Makefile.lisp index 2e8ab50..fce2a66 100644 --- a/lisp/Makefile.lisp +++ b/lisp/Makefile.lisp @@ -1,27 +1,18 @@ PACKAGE = liece VERSION = 1.4.7 -ifndef EMACS - EMACS = emacs -endif -ifndef XEMACS - XEMACS = xemacs -endif -FLAGS = -batch -q -no-site-file -TAR = tar - -ifndef PREFIX - PREFIX = NONE -endif -ifndef LISPDIR - LISPDIR = NONE -endif -PACKAGEDIR = NONE -VERSION_SPECIFIC_LISPDIR = NONE - -GOMI = liece-setup.el *.elc - -all: elc +EMACS ?= emacs +XEMACS ?= xemacs +FLAGS ?= -batch -q -no-site-file +TAR ?= tar +PREFIX ?= NONE +LISPDIR ?= NONE +PACKAGEDIR ?= NONE +VERSION_SPECIFIC_LISPDIR ?= NONE + +GOMI = liece-setup.el *.elc + +all:: elc elc: $(EMACS) $(FLAGS) -l ./liece-make.el -f autoload-liece \ @@ -43,5 +34,5 @@ install-package: package $(XEMACS) $(FLAGS) -l ./liece-make.el -f install-liece-package \ $(PACKAGEDIR) -clean: +clean:: -rm -f $(GOMI) -- 1.7.10.4