SRC = $(EXAMPLE).dsp
 SAMPLES = 30
 
-BASENAME = output
-FORMAT = csv
-CSVOUT = $(BASENAME)1.$(FORMAT)
+FILEOUT = primitives.csv
+ERR_LOG = err_log.txt
 
-all: $(CSVOUT)
+all: $(FILEOUT)
 
-$(CSVOUT): $(SRC)
-       faustine -d $(SRC) -t $(SAMPLES) --oformat $(FORMAT) --obasename $(BASENAME)
+$(FILEOUT): $(SRC)
+       faustine -f $(SRC) -l $(SAMPLES) 1> $@ 2> $(ERR_LOG)
 
 clean::
-       rm -f gmon.out output*
+       rm -f gmon.out $(FILEOUT) $(ERR_LOG)