# Makefile for Jade's Lisp files
# Copyright (C) 1993, 1994 John Harper <jsh@ukc.ac.uk>

# Jade is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.

# Jade is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with Jade; see the file COPYING.  If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

# defaults
bindir = ../src
lispdir = .

all :

lisp :
	$(bindir)/jade -geometry +0+0 -log-msgs -f sleep-window -f compile-lisp-lib -q

install :
	for f in *.jl; \
	do \
	  $(INSTALL_DATA) $$f $(lispdir)/$$f; \
	done
	$(INSTALL_DATA) ../DOC $(lispdir)/../DOC
	$(bindir)/jade -geometry +0+0 -log-msgs -f sleep-window -f compile-lisp-lib -q

uninstall :
	-rm -f $(lispdir)/*.jl $(lispdir)/*.jlc $(lispdir)/../DOC

clean :
	-rm -f *.jlc *~
	-cp ../src/DOC.bare ../DOC

realclean : clean
	-rm -f ../DOC
