summaryrefslogtreecommitdiff
path: root/icon/Makefile
blob: 6ea29fda3c9495d4fb1fff65ac82dc9cb7b021f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
.PHONY: all clean

all: on_unix.go off_unix.go error_unix.go wait0_unix.go wait1_unix.go wait2_unix.go wait3_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