From 4b59d5541e0c8e61d38e3d429dd2c7c565d7e92d Mon Sep 17 00:00:00 2001 From: cathery Date: Tue, 12 Nov 2019 20:01:11 +0300 Subject: [PATCH] Add building instructions in README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index cf36da7..293c7cd 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,10 @@ sys-con comes with a config folder located at `sdmc:/config/sys-con/`. It contai - [ ] **[Motion Controls Support](https://github.com/cathery/sys-con/issues/9)** - [ ] **Config application** +## Building (For developers) + +If you want to build this sysmodule yourself, you need to download the latest build of [libnx](https://github.com/switchbrew/libnx) and build it, then put the library and includes into your devkitpro libnx directory. Make a backup first. +After that, you can either type `make -f MakefileSysmodule -j8` to build a sysmodule nsp file, or `make -f MakefileApplet -j8` to build an applet nro file. Sorry that there's two makefiles, I can't be bothered to figure out the make language right now. ## Support [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/H2H316ZQV)