Makefile refactoring and cleanup.
[pwl6.git] / rules / pngcrush.mk
diff --git a/rules/pngcrush.mk b/rules/pngcrush.mk
deleted file mode 100644 (file)
index 39630df..0000000
+++ /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 $@