--- /dev/null
+all: index.html
+
+wordlist_compressed.js: compress.coffee wordlist.txt
+ coffee compress.coffee
+
+main.js: main.coffee
+ coffee -bc main.coffee
+
+all_min.js: wordlist_compressed.js main.js
+ cat /usr/share/javascript/jquery/jquery.min.js main.js wordlist_compressed.js | uglifyjs -nc -o all_min.js
+
+index.html: all_min.js main.html
+ (head -n -2 main.html; echo '<script>'; cat all_min.js; echo '</script>'; tail -n 2 main.html) > index.html
+
+index.html.gz: index.html
+ gzip --best -c $< > $@
+
+clean:
+ rm -f main.js all_min.js wordlist_compressed.js index.html