Bugs fixed for stdin and stdout.
[Faustine.git] / examples / primitives / Makefile
index fb73fc3..7494e85 100644 (file)
@@ -2,14 +2,12 @@ EXAMPLE = primitives
 SRC = $(EXAMPLE).dsp
 SAMPLES = 30
 
-BASENAME = output
-FORMAT = csv
-CSVOUT = $(BASENAME)1.$(FORMAT)
+FILEOUT = primitives.csv
 
-all: $(CSVOUT)
+all: $(FILEOUT)
 
-$(CSVOUT): $(SRC)
-       faustine -f $(SRC) -l $(SAMPLES) --oformat $(FORMAT) --obasename $(BASENAME)
+$(FILEOUT): $(SRC)
+       faustine -f $(SRC) -l $(SAMPLES) 1> $@ 2> toto.txt
 
 clean::
-       rm -f gmon.out output*
+       rm -f gmon.out $(FILEOUT)