Makefile

Fri, 17 Mar 2023 11:00:22 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 17 Mar 2023 11:00:22 +0000
branch
lua5.2
changeset 97
808fd9673669
parent 60
e80882a6af57
permissions
-rw-r--r--

Makefile: remove -q by default for easier debugging of build issues


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

squish: squish.lua squishy
	./squish.lua $(OPTIONS) # Bootstrap squish
	chmod +x squish
	./squish gzip # Minify gunzip code
	./squish 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