|
|
@ -24,7 +24,7 @@ set -e |
|
|
|
while getopts ":hdusrcq" opt; do |
|
|
|
case $opt in |
|
|
|
h) |
|
|
|
echo "Usage: ./linux-build.sh [-hdusrcqq]" |
|
|
|
echo "Usage: ./build-linux.sh [-hdusrcqq]" |
|
|
|
echo " -h Show this information" |
|
|
|
echo " -d Faster builds that have debug symbols, and enable warnings" |
|
|
|
echo " -u Run upx* on the executable after compilation (before -r)" |
|
|
@ -39,10 +39,10 @@ while getopts ":hdusrcq" opt; do |
|
|
|
echo " requires that you have upx installed and on your path, of course." |
|
|
|
echo "" |
|
|
|
echo "Examples:" |
|
|
|
echo " Build a release build: ./linux-build.sh" |
|
|
|
echo " Build a release build, full recompile: ./linux-build.sh -c" |
|
|
|
echo " Build a debug build and run: ./linux-build.sh -d -r" |
|
|
|
echo " Build in debug, run, don't print at all: ./linux-build.sh -drqq" |
|
|
|
echo " Build a release build: ./build-linux.sh" |
|
|
|
echo " Build a release build, full recompile: ./build-linux.sh -c" |
|
|
|
echo " Build a debug build and run: ./build-linux.sh -d -r" |
|
|
|
echo " Build in debug, run, don't print at all: ./build-linux.sh -drqq" |
|
|
|
exit 0 |
|
|
|
;; |
|
|
|
d) |
|
|
|