X-Git-Url: https://svn.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/912dbfbf1eb4809f28e4e3a8bdfe76c47e018259..d1264199304ae2d1ce738fba3b4099fad23244aa:/examples/dilation/Makefile?ds=inline diff --git a/examples/dilation/Makefile b/examples/dilation/Makefile index 3d2c6dd..ef567ac 100644 --- a/examples/dilation/Makefile +++ b/examples/dilation/Makefile @@ -2,22 +2,26 @@ SRC = dilation.dsp IMGIN = letter_j.png LINES = 150 -BASENAME = output -FORMAT = csv +BASENAME = $(SRC:.dsp=) +FORMAT = nst +FILEOUT = $(BASENAME).$(FORMAT) +CSVOUT = dilation.csv CSVIN = $(IMGIN:.png=.csv) -CSVOUT = $(BASENAME)1.$(FORMAT) IMGOUT = $(SRC:.dsp=.png) -all: $(IMGOUT) +all: $(IMGOUT) #$(FILEOUT) $(IMGOUT): $(CSVOUT) octave -qf img_write.m +$(FILEOUT): $(SRC) $(CSVIN) + faustine -f $(SRC) -l $(LINES) < $(CSVIN) 1> $@ + $(CSVOUT): $(SRC) $(CSVIN) - faustine -f $(SRC) -i $(CSVIN) -l $(LINES) --oformat $(FORMAT) --obasename $(BASENAME) + faustine -f $(SRC) -l $(LINES) < $(CSVIN) 1> $@ $(CSVIN): $(IMGIN) octave -qf img_read.m clean:: - rm -f gmon.out $(IMGOUT) $(BASENAME)* + rm -f gmon.out $(IMGOUT) $(CSVOUT)