Update figures Makefile structure

This commit is contained in:
Eric-Teunis de Boone 2022-08-24 16:25:20 +02:00
parent 02647699df
commit faf07ef6fd
6 changed files with 49 additions and 14 deletions

2
figures/clocks/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.pdf
*.png

18
figures/clocks/Makefile Normal file
View file

@ -0,0 +1,18 @@
.PHONY: all dist dist-clean
all: dist
dist: \
reference-clock.pdf reference-clock.png \
wr-clocks.pdf wr-clocks.png
dist-clean:
rm -v reference-clock.*
rm -v wr-clocks.*
reference-clock.%: src/reference-clock.py
$< $@
wr-clocks.%: src/wr-clocks.py
$< $@