projects
/
naja.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fa114b6d5d37cb4c09942378ff6ca37d770e316f
[naja.git]
/
data
/
icons
/
Makefile
1
TARGETS=robolock.icns robolock.ico
2
3
PNGS=$(wildcard *.png)
4
RGBA_PNGS=$(patsubst %,rgba/%,$(PNGS))
5
6
.PHONY: all
7
all: $(TARGETS)
8
rm -rf rgba
9
10
.PHONY: clean
11
clean:
12
rm -rf rgba
13
rm -f $(TARGETS)
14
15
.PHONY: install-tools
16
install-tools:
17
echo apt-get install icnsutils icoutils
18
19
rgba/%.png: %.png
20
mkdir -p rgba
21
convert $^ PNG32:$@
22
23
robolock.icns: $(filter-out %_24.png,$(RGBA_PNGS))
24
png2icns $@ $^
25
26
robolock.ico: $(RGBA_PNGS)
27
icotool --create --output $@ $^