-#local runtime :: package runtime
+
+#load "config"
+#load "main"
#load "core/std"
-// These paths are very specific to where I keep Onyx on my system.
-// In the short-term, Onyx modules should be copied locally to this
-// project.
-#if runtime.OS == runtime.OS_Windows {
- #load_path "\\dev\\onyx\\"
-}
-#if runtime.OS == runtime.OS_Linux {
- #load_path "/home/brendan/dev/c/onyx"
-}
+#local runtime :: package runtime
+#load_path runtime.vars.ONYX_MODULE_DIR
#library_path "./lib"
-#load "modules/glfw3/module"
-#load "modules/opengles/module"
-
-#load "main"
\ No newline at end of file
+#load "glfw3/module"
+#load "opengles/module"
\ No newline at end of file