# É½Âê: arare ÍÑ Makefile
#
# ÍúÎò: 2005-01-28 ¿ù»³¹Ì°ìÏ¯

include ../../Mkinclude

.SUFFIXES: .o .f90

OBJS = \
	fileset.o \
	gridset.o \
	timeset.o \
	bcset.o \
	expname.o \
	physprm.o \
	arareprm.o \
	chemprm.o \
	distrbprm.o \
	basicset.o \
	distrbtype.o  \
	basicprm.o \
	distrbset.o \
	basictype.o \
	average.o \
	differentiate.o \
	boundary.o \
	asselintimefilter.o \
	cflchk.o \
	ssl2_linear.o \
	linlib.o \
	integral.o \
	divvel.o \
	eddyviscosity.o \
	exner_hevi.o \
	pressuregradvelx.o \
	advectvelx.o \
	turbulencevelx.o \
	numdiffusionvelx.o \
	pressuregradvelz.o \
	advectvelz.o \
	turbulencevelz.o \
	buoyancy.o \
	numdiffusionvelz.o \
	advectscalar.o \
	turbulencescalar.o \
	numdiffusionscalar.o 



CSS  = ../../rd/dcpam-rd2html.css

HTML = \
	fileset.htm \
	gridset.htm \
	timeset.htm \
	basicset.htm \
	bcset.htm \
	distrbset.htm \
	expname.htm \
	physprm.htm \
	arareprm.htm \
	gajiraprm.htm \
	hakaseprm.htm \
	chemprm.htm \
	boundary.htm \
	asselintimefilter.htm \
	average.htm \
	differentiate.htm \
	display.htm \
	cflchk.htm \
	ssl2_linear.htm \
	linlib.htm \
	divvel.htm \
	exner_hevi.htm \
	turbstab.htm \
	advectvelx.htm \
	diffusevelx.htm \
	advectvelz.htm \
	diffusevelz.htm \
	buoyancy.htm \
	advectscalar.htm \
	diffusepottemp.htm \
	basictype.htm \
	distrbtype.htm  \
	integralshort_1l.htm \
	integrallong_1l.htm \
	integrallong_2l.htm \
	tendencyvelx.htm \
	tendencyvelz.htm 


MAN = grid_3d.3f grid_wavenumber.3f
TEX = grid_3d.tex grid_wavenumber.tex
PDF = grid_3d.pdf grid_wavenumber.pdf


all: $(OBJS) 
doc: htm man tex pdf
htm: $(HTML)
man: $(MAN)
tex: $(TEX)
pdf: $(TEX) $(PDF)


.SUFFIXES: .f90 .o #.htm .3f .tex
$(OBJS): %.o: %.f90
	$(FC) -c $<  -I$(GTOOLMODDIR) 

clean:
	$(RM) *.o *.mod 

clean-doc: clean-htm clean-man clean-tex clean-pdf

clean-htm:
	$(RM) -f $(HTML)

clean-man:
	$(RM) -f $(MAN)

clean-tex:
	$(RM) -f $(TEX)

clean-pdf:
	$(RM) -f $(PDF) *.dvi *.toc *.aux *.log *.pdf

