aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d002b5f..e3d1a82 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,4 @@
-IMGS := imgs/2019-10-16.png imgs/2019-10-30.png imgs/2019-12-19.png imgs/2019-12-20.png imgs/2019-12-3.png imgs/2019-12-5.png
-GRAPHS := graph/depth_width.png graph/nearest_neighbor.png
-ASSETS := $(IMGS) $(GRAPHS)
+ASSETS := imgs/made graph/depth_width.png graph/nearest_neighbor.png
$(shell mkdir -p imgs graph outputs)
@@ -12,9 +10,10 @@ png: outputs/posterboard.png
clean:
rm -rf imgs graph outputs data/tables.tex
-$(IMGS): python/data.py python/img.py
+imgs/made: python/data.py python/img.py
cd imgs && \
python3 ../python/img.py
+ touch imgs/made
graph/depth_width.png: python/data.py python/depwid.py
cd graph && python3 ../python/depwid.py