Skip to content

Instantly share code, notes, and snippets.

@Sjors Sjors/Makefile
Last active Aug 29, 2015

What would you like to do?
Makefile to generate iOs icons from an SVG.
resolutions := 58 76 80 120 152
all_FILES := $(foreach resolution, $(resolutions), icon-$(resolution).png)
all: $(all_FILES)
icon-%.png: icon-itunes-connect-1024.png
convert $< -resize $*x$* $@
icon-itunes-connect-1024.png: icon.svg
convert $< $@
rm *.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.