#############################################################
# Master Makefile for the WWW Homepage Access Counter
# Muhammad A Muquit
# Nov-08-1997, created for Count 2.4
#############################################################
all: libCombine.a libbigplus.a Count mkstrip

libCombine.a:
	(cd libs/combine; make)

libbigplus.a:
	(cd libs/bigplus; make)

Count:
	(cd src; make)

mkstrip:
	(cd utils/mkstrip; make)


clean:
	(cd libs/combine; make clean)
	(cd libs/bigplus; make clean)
	(cd src; make clean)
	(cd utils/mkstrip; make clean)

pristine:
	(cd libs/combine; make clean)
	(cd libs/bigplus; make clean)
	(cd src; make clean)
	(cd utils/mkstrip; make clean)
	rm -f libs/combine/Makefile
	rm -f libs/bigplus/Makefile
	rm -f utils/mkstrip/Makefile
	rm -f src/config.h
	rm -f Config.tmpl
	rm -f count.cfg
	rm -f src/Makefile
	rm -f config.cache config.log config.status config.h Config.tmpl
