summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-01-19 11:34:37 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-01-19 11:34:37 -0500
commitafa4dcf0a43848df652c7c0dfcd1da6d5e5bd839 (patch)
tree89fe1ea3298947a719346349cebf17f7dcc99da6 /Makefile
parent8ccc464b0de39e7fc73b3c3e50f80f6c2452c8fe (diff)
downloadhtml5ks-afa4dcf0a43848df652c7c0dfcd1da6d5e5bd839.tar.xz
html5ks-afa4dcf0a43848df652c7c0dfcd1da6d5e5bd839.zip
Stuff.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5725e9d..50b25ee 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,7 @@ video: $(CVIDEO)
AUDIO := $(shell find $(DUMP)/bgm $(DUMP)/sfx -name '*.ogg')
OPUS := $(patsubst %.ogg,%.opus,$(AUDIO))
M4A := $(patsubst %.ogg,%.m4a,$(AUDIO))
+WAV := $(patsubst %.ogg,%.wav,$(AUDIO))
CAUDIO := $(OPUS) $(M4A)
audio: $(CAUDIO)
@@ -104,7 +105,7 @@ JS := www/js/html5ks.js www/js/menu.js www/js/api.js www/js/play.js www/js/image
js: www/js/all.min.js
www/js/all.min.js: $(JS)
- $(UGLIFYJS) $^ -o $@ -p 2 -m -c
+ $(UGLIFYJS) $^ -o $@ -p 2 -m -c drop_debugger=false
# === MISC ===
@@ -114,10 +115,13 @@ clean:
jshint: $(JS)
jshint $^
+space:
+ find $(DUMP) \( -name '*.wav' -o -name '*.mkv' -o -path "$(DUMP)/font*" \) -delete
+
watch:
while inotifywait -r -e modify,delete,move --exclude="^\./\.git" --exclude="\.swp$$" .; do \
${MAKE}; \
done
-.PHONY: video audio images js jshint clean watch
+.PHONY: video audio images js jshint clean space watch
.SUFFIXES: