projects
/
Faustine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fixed for stdin and stdout in a different platform.
[Faustine.git]
/
examples
/
primitives
/
Makefile
diff --git
a/examples/primitives/Makefile
b/examples/primitives/Makefile
index
80d4dbd
..
a119d26
100644
(file)
--- a/
examples/primitives/Makefile
+++ b/
examples/primitives/Makefile
@@
-2,10
+2,13
@@
EXAMPLE = primitives
SRC = $(EXAMPLE).dsp
SAMPLES = 30
SRC = $(EXAMPLE).dsp
SAMPLES = 30
-all: clean $(EXAMPLE)
+FILEOUT = primitives.csv
+ERR_LOG = err_log.txt
-$(EXAMPLE): $(SRC)
- faustine -d $(SRC) -t $(SAMPLES) --oformat csv
+all: $(FILEOUT)
+
+$(FILEOUT): $(SRC)
+ faustine -f $(SRC) -l $(SAMPLES) 1> $@ 2> $(ERR_LOG)
clean::
clean::
- rm -f gmon.out
output*
+ rm -f gmon.out
$(FILEOUT) $(ERR_LOG)