diff --git a/Makefile b/Makefile index 19c8cb42..2f1ef776 100644 --- a/Makefile +++ b/Makefile @@ -141,7 +141,12 @@ js: init @@cat ${JSFILES} >> ${OUTPUT}/${NAME}.js # ..... and then minify it @@echo ${VER_MIN} > ${OUTPUT}/${NAME}.min.js - @@java -jar build/google-compiler-20111003.jar --js ${OUTPUT}/${NAME}.js --warning_level QUIET >> ${OUTPUT}/${NAME}.min.js + @@java -XX:ReservedCodeCacheSize=64m \ + -jar build/google-compiler-20111003.jar \ + --js ${OUTPUT}/${NAME}.js \ + --js_output_file ${OUTPUT}/${NAME}.tmp.js + @@cat ${OUTPUT}/${NAME}.tmp.js >> ${OUTPUT}/${NAME}.min.js + @@rm ${OUTPUT}/${NAME}.tmp.js # -------------------------------------------------