Skip to content

Instantly share code, notes, and snippets.

@marek-saji
Last active July 31, 2018 07:49
Show Gist options
  • Save marek-saji/671acee0b98bd71dff4b8a463efe5c5a to your computer and use it in GitHub Desktop.
Save marek-saji/671acee0b98bd71dff4b8a463efe5c5a to your computer and use it in GitHub Desktop.
SVG_PATH:=../og-emoji-font/svgs
SVG_FILES:=$(wildcard $(SVG_PATH)/*.svg)
PNG_FILES:=$(addsuffix .png, $(basename $(SVG_FILES)))
all: $(PNG_FILES)
%.png: $(SVG_PATH)/%.svg
rsvg-convert --width=128 --height=128 $< --output=$@
clean:
rm -fv $(PNG_FILES)
.PHONY: all clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment