]> CRI, Mines Paris - PSL - Faustine.git/blobdiff - examples/primitives/Makefile
INSTALL.txt review.
[Faustine.git] / examples / primitives / Makefile
index 80d4dbd491c29ccd52ce165351c2b0198ed8f2f1..b392c2bd73ee0f7fca74bac8d6302d7b4f466394 100644 (file)
@@ -2,10 +2,14 @@ EXAMPLE = primitives
 SRC = $(EXAMPLE).dsp
 SAMPLES = 30
 
 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*
 
 clean::
        rm -f gmon.out output*