summaryrefslogtreecommitdiff
path: root/icon/Makefile
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-01-16 23:57:07 +0100
committerRuben Pollan <meskio@sindominio.net>2018-01-16 23:57:07 +0100
commitd4245e59b480dcadbbd5df4027b50a57aff3ff3e (patch)
treeac88a32bee19f41bded10731c39d6d0d858b1a9a /icon/Makefile
parent7026e1fed7dbcb23a6e85c0494484e6636388006 (diff)
[feat] use cleaner icons
Diffstat (limited to 'icon/Makefile')
-rw-r--r--icon/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/icon/Makefile b/icon/Makefile
new file mode 100644
index 0000000..68b7229
--- /dev/null
+++ b/icon/Makefile
@@ -0,0 +1,11 @@
+.PHONY: all clean
+
+all: on_unix.go off_unix.go wait_unix.go error_unix.go
+
+%_unix.go: %.png
+ echo "//+build linux darwin" > $@
+ echo "" >> $@
+ cat $< | 2goarray `echo ${<} | python -c "print raw_input().capitalize()[:-4]"` icon >> $@
+
+clean:
+ rm *_unix.go