spongy/Makefile

25 lines
474 B
Makefile
Raw Normal View History

2014-10-27 11:51:46 -06:00
ICONS += app/icon-16.png
ICONS += app/icon-32.png
ICONS += app/icon-48.png
ICONS += app/icon-128.png
ICONS += app/icon-256.png
all: icons serverside
2015-01-29 13:44:28 -07:00
serverside: spongy spongy.cgi
spongy: src/spongy/spongy.go
GOPATH=$(CURDIR) go build -v $@
spongy.cgi: src/spongy.cgi/spongy.cgi.go
GOPATH=$(CURDIR) go build -v $@
chmod +s $@
2014-10-27 11:51:46 -06:00
icons: $(ICONS)
app/icon-%.png: chat.svg
inkscape --export-png=$@ --export-width=$* $<
2014-10-27 13:36:42 -06:00
package: icons
cd app && zip -ru ../package.zip .