all: site/elm.min.js site/styles.css site/elm.js: src/ elm make --optimize --output site/elm.js src/Main.elm site/elm.min.js: site/elm.js uglifyjs site/elm.js --compress 'pure_funcs=[F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9],pure_getters,keep_fargs=false,unsafe_comps,unsafe' | uglifyjs --mangle --output site/elm.min.js site/styles.css: site/styles.scss sass --update -t compressed site/styles.scss clean: rm -rf site/elm.js \ elm-stuff/ \ site/elm.min.js \ .sass-cache \ site/styles.css \ site/styles.css.map