include $(SEPINC)/SEP.top

BINDIR = ./bin
SRCDIR = ./src
RESDIR = ./fig
OBJDIR = ./obj

R = ${RESDIR}
B = ${BINDIR}
S = ${SRCDIR}
O = ${OBJDIR}

${R}/%.ps: ${R}/%.v
	pstexpen ${R}/$*.v ${R}/$*.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y 

${R}/%.pdf: ${R}/%.ps
	ps2pdf \
	-dDownsampleColorImages=false \
	-dDownsampleGrayImages=false \
	-dDownsampleMonoImages=false \
	-dColorImageFilter=/FlateEncode \
	-dGrayImageFilter=/FlateEncode \
	-dMonoImageFilter=/CCITTFaxEncode \
	-dAutoFilterColorImages=false \
	-dAutoFilterGrayImages=false \
	-dAutoFilterMonoImages=false \
	-dEPSCrop ${R}/$*.ps $@

ebclip = newclip=1 bpclip=1 epclip=99
FILTER_LABEL := label1='time(s)' label2='Amp' title='  ' labelfat=1 labelsz=9 screenratio=0.3 screenwd=12.0 screenht=3.6
WAVELET_LABEL := label1='time samples' label2='Amp' title='  ' labelfat=1 labelsz=9 screenratio=0.3 screenwd=12.0 screenht=3.6 grid1=y g1num=100 min1=-199 max1=199 crowd=.7
COF_DECON_LABEL := label1='time(s)' label2='cmp_x(kft)' title='  ' labelfat=1 labelsz=9

dn = >/dev/null
grey = Grey $(dn)


clipdec = newclip=1 crowd=0.80 #wantscalebar=1
DECON_LABEL = label1='time(s)' label2='cmp_x(km)' label3=' ' title='' labelfat=1 labelsz=9

GRAPH_LABEL = label1='time(s)' label2=' ' label3=' ' title=' ' labelfat=1 labelstube z=4 screenratio=0.3 screenwd=12.0 screenht=3.6

data-decon = data/decon#
buf-trc = buf-trc#




include synthetic.make

include $(SEPINC)/SEP.bottom


