VER=1.3.16


all:
	cd src; $(MAKE)
#	cd src/modules; $(MAKE)
clean:
	cd src; $(MAKE) clean
	cd src/modules; $(MAKE) clean

distclean:
	rm -f config.cache config.status config.log *~;
	cd src; rm -f Makefile *o lex.yy.c  y.tab.[ch] *~ *.ln version.h config.h oops core
	cd src/modules; rm -f Makefile *o oopsctl *~ *.ln

tar:
	rm -Rf ../oops-${VER}.tar.gz /tmp/oops-${VER};
	mkdir /tmp/oops-${VER};
	gtar cf - --exclude=\*CVS\* *| (cd /tmp/oops-${VER}; tar xf -);
	( cd /tmp; tar cf - oops-${VER} )| gzip > ../oops-${VER}.tar.gz
	rm -Rf /tmp/oops-${VER}

install:
	cd src; $(MAKE) install
