]> CRI, Mines Paris - PSL - Faustine.git/blobdiff - examples/primitives/Makefile
Merge branch 'master' of https://scm.cri.ensmp.fr/git/Faustine
[Faustine.git] / examples / primitives / Makefile
index 80d4dbd491c29ccd52ce165351c2b0198ed8f2f1..7494e85232b2b187107cd0482d7ef817b6332151 100644 (file)
@@ -2,10 +2,12 @@ EXAMPLE = primitives
 SRC = $(EXAMPLE).dsp
 SAMPLES = 30
 
-all: clean $(EXAMPLE)
+FILEOUT = primitives.csv
 
-$(EXAMPLE): $(SRC)
-       faustine -d $(SRC) -t $(SAMPLES) --oformat csv
+all: $(FILEOUT)
+
+$(FILEOUT): $(SRC)
+       faustine -f $(SRC) -l $(SAMPLES) 1> $@ 2> toto.txt
 
 clean::
-       rm -f gmon.out output*
+       rm -f gmon.out $(FILEOUT)