|
| ssr_init
|
| Initialise paths for building SSR
|
|  1998 Straylight
|

| --- Add my binaries to the run path ---

Set SSR$Dir <Obey$Dir>
/<SSR$Dir>.bin.hour -on
/<SSR$Dir>.bin.pathutil -path Run$Path -add -dir <SSR$Dir>.bin.

| --- Add my libraries to the path ---
|
| Indirect everything though `SSRLibs$Dir' to reduce the path length.

Set SSRLibs$Dir <SSR$Dir>.Libraries
Set Alias$_adlib pathutil -path Libs$Path -add -dir %%0. -create
enumerate -noFiles -dir <SSRLibs$Dir> -cmd _adlib
_adlib <SSRLibs$Dir>
Unset Alias$_adlib

Set Sapphire$Path libs:Sapphire.sh.

| --- Development aliases ---

Set Alias$basasm Set bas$Output "%%*1"|mIf "|<Prefix$Dir>" = "" Then Run %%0 Else Run |<Prefix$Dir>.%%0

| --- Places to put things ---

Set SSR$BinDir <SSR$Dir>.bin
Set SSR$ModDir <SSR$Dir>.Modules
Set SSR$LibDir <SSR$Dir>.Libraries
Set SSR$DLLDir <SSR$Dir>.!DLLs

| --- Done ---

hour -off
