forked from dis-org/identicons
-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
52 lines (43 loc) · 843 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.REMOVE_ON_ERROR:
.SECONDARY:
all: lcdsa \
batto1300 \
eddybudge \
filmar \
frabulous \
grushnack \
h3xept \
harisont \
kappanneo \
l3ragio \
oneclaudio \
scappati \
alessio-giombetti \
gio93k \
niggone \
eddybudge
@echo "all done!"
clean:
rm -f *.png*
% :
@echo "retrieving $*'s identicon"
@make -s $*.png
@echo "converting $*'s identicon"
@make -s $*_no_back.png
@make -s $*_light.png
@make -s $*_dark.png
@make -s $*_white.png
@make -s $*_black.png
@echo "$* done."
%.png :
wget -q https://github.com/identicons/$*.png
%_no_back.png : %.png
./convert.sh $* transparent no_back
%_light.png : %.png
./convert.sh $* "#F0F0F0" light
%_dark.png : %.png
./convert.sh $* "#2E3436" dark
%_white.png : %.png
./convert.sh $* "#FFFFFF" white
%_black.png : %.png
./convert.sh $* "#000000" black