%.600x.png: %.svg
inkscape --export-png=$@ --export-width=600 --export-area-drawing $<
%.300x.png: %.svg
inkscape --export-png=$@ --export-width=300 --export-area-drawing $<
上記の Makefile に示されている繰り返しをどのように回避しますか? 私の主張を理解するために、いくつかの新しい構文を発明します。
%(1).%(2)x.png: %(1).svg
inkscape --export-png=$@ --export-width=%(2) --export-area-drawing $<