prefix      = @prefix@
exec_prefix = @exec_prefix@
RANLIB      = @RANLIB@
OPT         =

INSTALL        = ../install-sh -c
INSTALL_DATA   = ${INSTALL} -m 644
SHELL       = /bin/sh

all:	
	cd Lib; $(MAKE) OPT="$(OPT)"

install: 
	$(INSTALL_DATA) Include/gifplot.h $(prefix)/include/gifplot.h
	$(INSTALL_DATA) libgifplot.a $(exec_prefix)/lib/libgifplot.a
	$(RANLIB) $(exec_prefix)/lib/libgifplot.a

clean::
	rm -f *.o *~ libgifplot.a *_wrap* *_man*
	cd Lib; $(MAKE) clean
	cd Examples; $(MAKE) clean
	cd Python; $(MAKE) clean
	cd Tcl; $(MAKE) clean
	cd Perl; $(MAKE) clean
	rm -f config.log config.status config.cache


