Makefile

Sun, 10 Oct 2010 02:24:09 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 10 Oct 2010 02:24:09 +0100
changeset 77
d3ccd7ae7742
parent 60
e80882a6af57
child 97
808fd9673669
permissions
-rw-r--r--

COPYRIGHT: Update for 2010


OPTIONS=-q --with-minify --with-uglify --with-compile --with-virtual-io

squish: squish.lua squishy
	./squish.lua $(OPTIONS) # Bootstrap squish
	chmod +x squish
	./squish -q gzip # Minify gunzip code
	./squish -q debug # Minify debug code
	./squish $(OPTIONS) --with-gzip --with-debug # Build squish with minified gzip/debug
	
install: squish
	install squish /usr/local/bin/squish

clean:
	rm squish squish.debug gunzip.lua

mercurial