libk  Diff

Differences From Artifact [b43f4693b2]:

To Artifact [d7b4907031]:


1








2
3
4
5
6
7
8
#!/usr/bin/env bash








export to=${to:-out}
source global/common.sh

if test "$os$arch$bits" = ""; then
	say "set the following environment variables to the appropriate atoms describing your system. for help determining the appropriate atoms, see libk.md"
	say ' - $os={lin|fbsd|hai|osx…}'
	say ' - $arch={x86|arm|ia64|mips…}'

>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash
# build.sh - libk build script

# TODO when compiling C code, first check
#      if an assembly override exists for
#      the target platform and if there's
#      one, ignore the C and assemble the
#      override file instead.

export to=${to:-out}
source global/common.sh

if test "$os$arch$bits" = ""; then
	say "set the following environment variables to the appropriate atoms describing your system. for help determining the appropriate atoms, see libk.md"
	say ' - $os={lin|fbsd|hai|osx…}'
	say ' - $arch={x86|arm|ia64|mips…}'