From d4245e59b480dcadbbd5df4027b50a57aff3ff3e Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Tue, 16 Jan 2018 23:57:07 +0100 Subject: [feat] use cleaner icons --- icon/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 icon/Makefile (limited to 'icon/Makefile') 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 -- cgit v1.2.3