[Commits] [svn:einsteintoolkit] www/about/gallery/gw150914/ (Rev. 1521)

barry.wardell at gmail.com barry.wardell at gmail.com
Sun Jun 5 17:04:19 CDT 2016


User: barry.wardell
Date: 2016/06/05 05:04 PM

Modified:
 /about/gallery/gw150914/
  Makefile

Log:
 gw150914: Make statistics from Makefile

File Changes:

Directory: /about/gallery/gw150914/
===================================

File [modified]: Makefile
Delta lines: +7 -4
===================================================================
--- about/gallery/gw150914/Makefile	2016-06-05 22:04:14 UTC (rev 1520)
+++ about/gallery/gw150914/Makefile	2016-06-05 22:04:19 UTC (rev 1521)
@@ -1,5 +1,5 @@
 
-PLOTS = $(patsubst %.m,%.png,$(wildcard *.m))
+PLOTS = trajectories.png waveform.png
 
 -include make.conf
 
@@ -7,10 +7,13 @@
 PLOTFLAGS = --simulations-directory $(SIMULATIONS_DIRECTORY)
 endif
 
-all: $(PLOTS)
+all: $(PLOTS) stats.json
 
-$(PLOTS): %.png : %.m
+$(PLOTS): %.png: %.m
 	MathematicaScript -script $< $(PLOTFLAGS)
 
+stats.json: stats.m
+	MathematicaScript -script $<
+
 clean:
-	rm -f $(PLOTS)
+	rm -f $(PLOTS) stats.json



More information about the Commits mailing list