# -*- Mode: Makefile -*-
# $Id: Makefile,v 1.4 2001/10/29 22:36:13 craig Exp $

# Makefile for ODCL

SUBDIRS		:= 
DOCSUBDIRS	:= 

LISP		:= lisp

.PHONY: all wwwdist clean distclean install dist tags

all:
	@echo "nothing to be done"

dist:
	./make-dist.sh

wwwdist:
	@# subdirs not working
	@# set -e; for i in $(DOCSUBDIRS); do $(MAKE) -C $$i $@; done

tags:	TAGS

TAGS:	*.lisp
	etags *.lisp

freeze:
	@echo tagging with frozen tag
	cvs -q rtag -d frozen odcl
	cvs -q tag -F frozen .

clean:
	rm -f *.ufsl *.x86f *.sparcf *.fasl *.err
	find . -name "*.x86f" -o -name "*.ufsl" -o -name "*.sparcf" \
             -o -name "*.fasl" -o -name "*.err" | xargs rm -f
	rm -f *~ *.bak
	@# subdirs not working
	@# set -e; for i in $(SUBDIRS) $(DOCSUBDIRS); do $(MAKE) -C $$i clean; done

distclean: clean
	rm -f TAGS
	rm -f ChangeLog*
	./debian/rules clean

