irena-arm/erena/Makefile
stephan b1cea8198c erene flash debugged
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8079 bc5caf13-1734-44f8-af43-603852e9ee25
2020-07-12 11:31:26 +00:00

28 lines
711 B
Makefile

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 $<