diff options
Diffstat (limited to 'icon/Makefile')
-rw-r--r-- | icon/Makefile | 11 |
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 |