libk  Diff

Differences From Artifact [b43f4693b2]:

To Artifact [d7b4907031]:


     1      1   #!/usr/bin/env bash
            2  +# build.sh - libk build script
            3  +
            4  +# TODO when compiling C code, first check
            5  +#      if an assembly override exists for
            6  +#      the target platform and if there's
            7  +#      one, ignore the C and assemble the
            8  +#      override file instead.
            9  +
     2     10   export to=${to:-out}
     3     11   source global/common.sh
     4     12   
     5     13   if test "$os$arch$bits" = ""; then
     6     14   	say "set the following environment variables to the appropriate atoms describing your system. for help determining the appropriate atoms, see libk.md"
     7     15   	say ' - $os={lin|fbsd|hai|osx…}'
     8     16   	say ' - $arch={x86|arm|ia64|mips…}'