TOOL=browserify
.PHONY: all
all: $(TOOL).min.js worker.min.js
$(TOOL).min.js: $(TOOL).js
uglifyjs $< > $@
.PHONY: $(TOOL).js
$(TOOL).js: app.js
browserify $< > $@
worker.min.js: worker.js
.PHONY: worker.js
worker.js: xlsxworker.js