Makefile

Fri, 17 Mar 2023 11:02:12 +0000

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

A range of fixes for Lua 5.2 support


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