X-Git-Url: https://git.yukkurigames.com/?p=pwl6.git;a=blobdiff_plain;f=rules%2Fpngcrush.mk;fp=rules%2Fpngcrush.mk;h=0000000000000000000000000000000000000000;hp=39630df36df8a4a529f4f30f6e7bff4606b5d4c7;hb=ac47d3137a6a3dc618afe9bf1a6ca860e117942a;hpb=2854030a3f699188676f19ba16a5400c4976f23c diff --git a/rules/pngcrush.mk b/rules/pngcrush.mk deleted file mode 100644 index 39630df..0000000 --- a/rules/pngcrush.mk +++ /dev/null @@ -1,20 +0,0 @@ -# This is free and unencumbered software released into the public -# domain. To the extent possible under law, the author of this file -# waives all copyright and related or neighboring rights to it. - -.DELETE_ON_ERROR: - -BUILDDIR ?= build/ -PNGCRUSHSTAMPDIR ?= $(BUILDDIR)/stamp - -pngcrush-stampify = $(patsubst %.png,$(PNGCRUSHSTAMPDIR)/%.png.crushed,$1) - -PNGCRUSH ?= pngcrush -PNGCRUSHFLAGS ?= -brute -blacken -reduce -q - -CRUSH.png ?= $(PNGCRUSH) $(PNGCRUSHFLAGS) - -$(PNGCRUSHSTAMPDIR)/%.png.crushed: %.png - $(CRUSH.png) -ow $< - mkdir -p $(@D) - touch $@