webclient/Makefile

19 lines
278 B
Makefile

PACKAGES=unitJS
SRC=js
JS_CODE=$(shell find $(SRC) -type f -name '*.js')
TARGETS=main.js skin.css
.PHONY: mrproper
all: $(TARGETS)
main.js: $(JS_CODE)
sjw -o $@ $(PACKAGES:%=-I %) $(SRC)
skin.css: skin/
cat $^*.css > $@
rebuild: mrproper all
mrproper:
rm -f $(TARGETS)