PARSER = epipe include ../irena/libirena.make %.E: %.dat epipe ./epipe < $< | grep ^E > $@ %.ES: %.dat epipe ./epipe < $< > $@ %.S: %.dat epipe ./epipe < $< | grep ^S > $@ .PRECIOUS: %.E %.ES %.S %.hist: %.ES awk '/^E/ && $$5>0 && $$6>50 && $$5<80000 && $$4>800 { print $$5 }' $< | hist.py -s 1./16 > $@ %.2dhist: %.ES awk '/^E/ && $$5>0 && $$6>-50 && $$5<64000 && $$6<64000 { print $$5, $$6 }' $< | hist.py -s 1./16 -S 1.0/16 > $@ CC = gcc GNUPLOT = /home/asterix/stephan/src/gnuplot specfit.so: specfit.o $(CC) -rdynamic -fPIC -g -O2 -shared -o $@ $< -ldl -lm specfit.o: specfit.c gcc -rdynamic -fPIC -g -O2 -DHAVE_CONFIG_H -I$(GNUPLOT)/demo/plugin -I$(GNUPLOT)/src -I$(GNUPLOT) -o $@ -c $<