diff --git a/bin/bld_core.sh b/bin/bld_core.sh index 485ab2e..fe9eeac 100644 --- a/bin/bld_core.sh +++ b/bin/bld_core.sh @@ -1,7 +1,38 @@ #!/bin/bash ###### Usage ################################################################## -# TODO +# ./bld_core.sh [arguments ...] +# +# command: compile +# ./bld_core.sh compile [opts ...] +# +# Creates object files from a single source file and options with a compiler. +# Scans the source file for '//$' and '//' and pulls options out of the tokens +# in between, combines options from the source file with the passed options. +# +# +# command: link +# ./bld_core.sh link [input-file ...] -- [opts ...] +# +# +# Creates binaries (executables and dynamic libraries) from objects, +# libraries, and options with a linker. +# First automatically compiles source files into objects. +# Object files can be specified as '.o' or '.obj', and will be +# automatically adjusted according to the selected compiler. +# Library files should be specified with '.lib', and will be +# automatically adjusted according to the selected linker. +# If the option 'dll' appears in the list the linker will produce a dynamic +# library (or "shared object"). +# +# +# command: lib +# ./bld_core.sh lib [input-file ...] -- [opts ...] +# +# Creates library archives (.lib or .a) from objects. +# First automatically compiles source files into objects. +# Object files can be specified as '.o' or '.obj', and will be +# automatically adjusted according to the selected compiler. ###### Get Paths ############################################################## og_path=$PWD diff --git a/bin/bld_init.sh b/bin/bld_init.sh index 6c6235e..eb0a260 100644 --- a/bin/bld_init.sh +++ b/bin/bld_init.sh @@ -1,5 +1,9 @@ #!/bin/bash +###### Usage ################################################################## +# ./bld_init.sh +# Clears out the local folder and populates it with default initial scripts. + ##### Declare The Local File Names ############################################ local_file_names=( compiler.sh