summaryrefslogtreecommitdiff
path: root/icon/Makefile
blob: 68b7229dff5d26dbad710f72d49f167f9c1bb906 (plain)
1
2
3
4
5
6
7
8
9
10
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