# General Makefile for Candis C programs
# This still depends on having the local install paths correct --
# no general install locations -- needs fixing.
#
# Define where you would like your html documentation to live.
HTMLDIR = ~/www/software/candis/html

common :
	cd include; make
	cd utils; make
	cd general; make
	cd ng3dvar; make
	cd ngradar; make
	cd ngsonde; make
	cd unidata; make

html :
	-cd include; make html
	-cd utils; make html
	-cd general; make html
	-cd ng3dvar; make html
	-cd ngradar; make html
	-cd ngsonde; make html
	-cd unidata; make html

install :
	-cd include; make install
	-cd utils; make install
	-cd general; make install
	-cd ng3dvar; make install
	-cd ngradar; make install
	-cd ngsonde; make install
	-cd unidata; make install

install-html :
	-cd include; cp *.html ${HTMLDIR}
	-cd utils; cp *.html ${HTMLDIR}
	-cd general; cp *.html ${HTMLDIR}
	-cd ng3dvar; cp *.html ${HTMLDIR}
	-cd ngradar; cp *.html ${HTMLDIR}
	-cd ngsonde; cp *.html ${HTMLDIR}
	-cd unidata; cp *.html ${HTMLDIR}

clean :
	cd include; make clean
	cd utils; make clean
	cd general; make clean
	cd ng3dvar; make clean
	cd ngradar; make clean
	cd ngsonde; make clean
	cd unidata; make clean
