DENSITY = 300 WIDTH = 512 RESOL = 200 SOURCE := $(wildcard *.c) make: xelatex $(SOURCE).tex make clean clean: rm -rf $(TARGET) *.log *.aux png: make pdftocairo -png $(SOURCE).svg -r $(RESOL)-W $(WIDTH) --export-png=$(SOURCE).png svg: make inkscape $(SOURCE).pdf -T --export-plain-svg=$(SOURCE).svg