X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/ec8925988e8568612fc56bca93623afdb71b6116..f7b856ac80c68e3ca48cf0c176ecdb0ffbf01c41:/examples/primitives/Makefile

diff --git a/examples/primitives/Makefile b/examples/primitives/Makefile
index 80d4dbd..b392c2b 100644
--- a/examples/primitives/Makefile
+++ b/examples/primitives/Makefile
@@ -2,10 +2,14 @@ EXAMPLE = primitives
 SRC = $(EXAMPLE).dsp
 SAMPLES = 30
 
-all: clean $(EXAMPLE)
+BASENAME = output
+FORMAT = csv
+CSVOUT = $(BASENAME)1.$(FORMAT)
 
-$(EXAMPLE): $(SRC)
-	faustine -d $(SRC) -t $(SAMPLES) --oformat csv
+all: $(CSVOUT)
+
+$(CSVOUT): $(SRC)
+	faustine -d $(SRC) -t $(SAMPLES) --oformat $(FORMAT) --obasename $(BASENAME)
 
 clean::
 	rm -f gmon.out output*