]> CRI, Mines Paris - PSL - Faustine.git/blobdiff - examples/primitives/Makefile
Bugs fixed for stdin and stdout.
[Faustine.git] / examples / primitives / Makefile
index fb73fc3405efafe1cd425bfd4ba6a2bf962a5431..7494e85232b2b187107cd0482d7ef817b6332151 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)