# Makefile for STRM/anim
#
# 2004/06/07 D. Tsukahara 

## make ps & png files. ## 

COMMAND_ANIM = gifsicle --delay 20
COMMAND_VIEW = ../../bin/rgtview.rb --smooth "time" -f --nocont

all: monthly daily

monthly: month198? month199? month200? month-total
daily: daily198? daily199? daily200? daily-total

month198?:
	$(COMMAND_ANIM) ../../STRM.NCEP/STRM.198[0-9].NCEP/STRM_*-??_NCEP.gif > STRM_1980-anim_NCEP.gif
month199?:
	$(COMMAND_ANIM) ../../STRM.NCEP/STRM.199[0-9].NCEP/STRM_*-??_NCEP.gif > STRM_1990-anim_NCEP.gif
month200?:
	$(COMMAND_ANIM)	../../STRM.NCEP/STRM.200[0-1].NCEP/STRM_*-??_NCEP.gif > STRM_2000-anim_NCEP.gif
month-total:
	$(COMMAND_ANIM)	../../STRM.NCEP/STRM.*.NCEP/STRM_*-??_NCEP.gif > STRM_total-anim_NCEP.gif
clean:
	-rm -f *.gif *~
