aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 0767e672345200c2a58ef66718aa65e606373c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
VERSION = 1.0.0

all: dist

distclean:
	rm -f polldance-$(VERSION).js polldance-$(VERSION).min.js

clean:

dist: polldance-$(VERSION).min.js

polldance-$(VERSION).js: polldance.js
	cp polldance.js polldance-$(VERSION).js

polldance-$(VERSION).min.js: polldance-$(VERSION).js
	./compile.py polldance-$(VERSION).js > polldance-$(VERSION).min.js