Mercurial > nagslang
view source/Makefile @ 297:b00ed05f7364
Create a tuple of bullet position, so we don't just hold a reference to a mutable object
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Thu, 05 Sep 2013 23:43:50 +0200 |
parents | eba98879f47f |
children | 09c76e7ce675 |
line wrap: on
line source
SOURCES = $(shell find images -name '*.svg') TARGETS = $(patsubst %.svg,../data/%.png,$(SOURCES)) OPTIMIZE = 1 all: $(TARGETS) clean: rm -f $(TARGETS) ../data/%.png: %.svg mkdir -p $(dir $@) inkscape --export-png $@ --export-dpi 9 $< ifeq ($(OPTIMIZE),1) optipng -o4 -preserve $@ advpng -z4 $@ endif