1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-12-26 03:17:58 +00:00
sys-con/Makefile

19 lines
541 B
Makefile
Raw Normal View History

2020-01-12 02:01:44 +00:00
.PHONY: all build clean
all: build
rm -rf out
mkdir -p out/atmosphere/contents/690000000000000D/flags
mkdir -p out/config/sys-con
mkdir -p out/switch/
touch out/atmosphere/contents/690000000000000D/flags/boot2.flag
cp source/Sysmodule/sys-con.nsp out/atmosphere/contents/690000000000000D/exefs.nsp
cp source/AppletCompanion/sys-con.nro out/switch/sys-con.nro
cp -r common/. out/
@echo [DONE] sys-con compiled successfully. All files have been placed in out/
build:
$(MAKE) -C source/
clean:
$(MAKE) -C source/ clean
rm -rf out