diff options
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -104,8 +104,15 @@ js: www/js/all.min.js www/js/all.min.js: www/js/html5ks.js www/js/menu.js www/js/api.js www/js/play.js www/js/images.js www/js/characters.js www/js/imachine.js www/js/i18n.js $(UGLIFYJS) $^ -o $@ -p 2 -m -c +# === MISC === + clean: $(RM) $(CVIDEO) $(CAUDIO) $(WEBP) www/favicon.ico -.PHONY: video audio images js clean +watch: + while inotifywait -r -e modify,delete,move --exclude="^./.git" --exclude="\.swp$$" .; do \ + ${MAKE}; \ + done + +.PHONY: video audio images js clean watch .SUFFIXES: |