X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/8214a6043950b3aad0457895abc981d2cfe933b2..ec8925988e8568612fc56bca93623afdb71b6116:/examples/close/Makefile diff --git a/examples/close/Makefile b/examples/close/Makefile new file mode 100644 index 0000000..c2b437c --- /dev/null +++ b/examples/close/Makefile @@ -0,0 +1,23 @@ +SRC = close.dsp +IMGIN = circbw.gif +LINES = 123 + +BASENAME = output +FORMAT = csv +CSVIN = $(IMGIN:.gif=.csv) +CSVOUT = $(BASENAME)1.$(FORMAT) +IMGOUT = $(SRC:.dsp=.png) + +all: $(IMGOUT) + +$(IMGOUT): $(CSVOUT) + octave -qf img_write.m + +$(CSVOUT): $(SRC) $(CSVIN) + faustine -d $(SRC) -i $(CSVIN) -t $(LINES) --oformat $(FORMAT) --obasename $(BASENAME) + +$(CSVIN): $(IMGIN) + octave -qf img_read.m + +clean:: + rm -f gmon.out $(IMGOUT) $(BASENAME)* *csv