Ignore:
Timestamp:
Sep 8, 2013, 4:15:26 PM (7 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Message:

24 and 48 are probably useful

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/Makefile

    r671 r673  
    11IMG_SOURCES = $(shell find images -name '*.svg')
    22IMG_TARGETS = $(patsubst %.svg,../data/%.png,$(IMG_SOURCES))
    3 ICONS = _16.png _32.png _64.png _128.png .xpm .icns .ico
     3ICONS = _16.png _24.png _32.png _48.png _64.png _128.png .xpm .icns .ico
    44ICO_TARGETS = $(patsubst %,../data/icons/werewolf-sonata%,$(ICONS))
    55OPTIMIZE = 1
     
    5555endif
    5656
     57../data/icons/%_24.png: icons/%.svg
     58        inkscape --export-png $@ --export-width 24 --export-height 24 $<
     59ifeq ($(OPTIMIZE),1)
     60        optipng -o4 -preserve $@
     61        advpng -z4 $@
     62endif
     63
    5764../data/icons/%_16.png: icons/%.svg
    5865        inkscape --export-png $@ --export-width 16 --export-height 16 $<
Note: See TracChangeset for help on using the changeset viewer.