Hello Guillaume, * Guillaume Rousse wrote on Mon, Feb 12, 2007 at 11:29:05AM CET: > > Still on the portability issue, I have some doubts about the following > hack, to create an output file of the same type as the input one: > > SUFFIXES = .png .small.png > > .png.small.png: > convert -geometry $(SMALL_WIDTH)x$(SMALL_HEIGHT) $< $@ > > I didn't found any failure yet, but I'm not 100% sure it will work > everywhere.
This isn't required by POSIX; more specifically, POSIX only defines inference rules with suffixes that start with a period but do not contain any other period. On the practical side, I haven't come across a make implementation that fails the above. Cheers, Ralf