xsheetjs/demos/browserify/Makefile
2017-09-24 19:40:09 -04:00

18 lines
275 B
Makefile

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
uglifyjs $< > $@
.PHONY: worker.js
worker.js: xlsxworker.js
browserify $< > $@