irena-arm/stis/Makefile

18 lines
335 B
Makefile
Raw Permalink Normal View History

ahepamfile:
make -C ../ahepam/ $@
ln ../ahepam/$@
%.ED: %.dat
ahepamfile < $< > $@
CH=0
%_c$(CH).S: %.ED
grep '^[ES]D ' $< \
| sort -nk2 \
| ./STIS.awk 'isS($(CH)) && E>100 {if(N==1)print Nix;print A,B,P,E,N,TT,S,SS, SS/E, SS/EE, SS/EEE}' \
> $@
%.hist: %.ED
./STIS.awk 'isE(-1){doHIST(Ch, E)}' $< > $@