From 6ae58180a3aa428e80ec4e3f8e0d33107213631c Mon Sep 17 00:00:00 2001 From: cancel Date: Thu, 29 Nov 2018 17:18:27 +0900 Subject: [PATCH] Add more usage doc to tool --- tool | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/tool b/tool index 629463a..fa53147 100755 --- a/tool +++ b/tool @@ -14,9 +14,19 @@ esac print_usage() { cat < + Compile orca. + Targets: debug, release + Default: debug + Output: debug//orca + clean + Removes build/ + info + Prints information about the detected build environment. Options: -v Print important commands as they're executed. - -c Use a specific compiler binary instead. + -c Use a specific compiler binary. Default: \$CC, or cc -d Enable compiler safeguards like -fstack-protector. You should probably do this if you plan to give the @@ -115,8 +125,8 @@ build_dir=build source_files=() add source_files field.c mark.c bank.c sim.c - #local tui_flags=() - #add tui_flags -D_XOPEN_SOURCE_EXTENDED=1 +#local tui_flags=() +#add tui_flags -D_XOPEN_SOURCE_EXTENDED=1 build_target() { local build_subdir