diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-01-14 09:53:31 -0500 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-01-14 09:53:31 -0500 |
commit | 8ccc464b0de39e7fc73b3c3e50f80f6c2452c8fe (patch) | |
tree | 6cb9dff87cbcc04e4d47293a942c0bbbb9691289 /Makefile | |
parent | fcde5bf01f7cd7029cfabd929483a72ba669039a (diff) | |
download | html5ks-8ccc464b0de39e7fc73b3c3e50f80f6c2452c8fe.tar.xz html5ks-8ccc464b0de39e7fc73b3c3e50f80f6c2452c8fe.zip |
More stuff.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -99,9 +99,11 @@ $(DUMP)/ui/ctc_anim.webp: $(CTC_ANIM_TMP_WEBP) # === JS === +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 + 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 +www/js/all.min.js: $(JS) $(UGLIFYJS) $^ -o $@ -p 2 -m -c # === MISC === @@ -109,10 +111,13 @@ www/js/all.min.js: www/js/html5ks.js www/js/menu.js www/js/api.js www/js/play.js clean: $(RM) $(CVIDEO) $(CAUDIO) $(WEBP) www/favicon.ico +jshint: $(JS) + jshint $^ + watch: while inotifywait -r -e modify,delete,move --exclude="^\./\.git" --exclude="\.swp$$" .; do \ ${MAKE}; \ done -.PHONY: video audio images js clean watch +.PHONY: video audio images js jshint clean watch .SUFFIXES: |