]> CRI, Mines Paris - PSL - Faustine.git/blobdiff - examples/primitives/Makefile
Bug fixed for unix error "readlink /proc/self/fd/0" on MacOS.
[Faustine.git] / examples / primitives / Makefile
index 80d4dbd491c29ccd52ce165351c2b0198ed8f2f1..a119d2673337e87c19f595b679d5da640f320c86 100644 (file)
@@ -2,10 +2,13 @@ EXAMPLE = primitives
 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::
-       rm -f gmon.out output*
+       rm -f gmon.out $(FILEOUT) $(ERR_LOG)