X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/dbded051d69cc5ba556884eb285feba032e09d29..829259826b29edc284ec43810bb505a832091dda:/examples/licenceplate/Makefile diff --git a/examples/licenceplate/Makefile b/examples/licenceplate/Makefile new file mode 100644 index 0000000..4ec0b44 --- /dev/null +++ b/examples/licenceplate/Makefile @@ -0,0 +1,23 @@ +SRC = licenceplate.dsp +IMGIN = licence_small.png +LINES = 117 + +BASENAME = output +FORMAT = csv +CSVIN = $(IMGIN:.png=.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