webclient/Makefile

18 lines
236 B
Makefile
Raw Normal View History

PACKAGES=unitJS
TARGETS=index.js game.js skin.css
.PHONY: mrproper
all: $(TARGETS)
%.js: js/
sjw -o $@ $(PACKAGES:%=-I %) -m Main.$(@:%.js=%) $^
skin.css: skin/
cat $^*.css > $@
rebuild: mrproper all
mrproper:
rm -f $(TARGETS)