projects
/
Faustine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New version name (Version 1.0) for access from the FEEVER website.
[Faustine.git]
/
examples
/
dilation
/
Makefile
diff --git
a/examples/dilation/Makefile
b/examples/dilation/Makefile
index
93a2ece
..
ef567ac
100644
(file)
--- a/
examples/dilation/Makefile
+++ b/
examples/dilation/Makefile
@@
-2,15
+2,21
@@
SRC = dilation.dsp
IMGIN = letter_j.png
LINES = 150
IMGIN = letter_j.png
LINES = 150
+BASENAME = $(SRC:.dsp=)
+FORMAT = nst
+FILEOUT = $(BASENAME).$(FORMAT)
CSVOUT = dilation.csv
CSVIN = $(IMGIN:.png=.csv)
IMGOUT = $(SRC:.dsp=.png)
CSVOUT = dilation.csv
CSVIN = $(IMGIN:.png=.csv)
IMGOUT = $(SRC:.dsp=.png)
-all: $(IMGOUT)
+all: $(IMGOUT)
#$(FILEOUT)
$(IMGOUT): $(CSVOUT)
octave -qf img_write.m
$(IMGOUT): $(CSVOUT)
octave -qf img_write.m
+$(FILEOUT): $(SRC) $(CSVIN)
+ faustine -f $(SRC) -l $(LINES) < $(CSVIN) 1> $@
+
$(CSVOUT): $(SRC) $(CSVIN)
faustine -f $(SRC) -l $(LINES) < $(CSVIN) 1> $@
$(CSVOUT): $(SRC) $(CSVIN)
faustine -f $(SRC) -l $(LINES) < $(CSVIN) 1> $@