forked from XorTroll/emuiibo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
22 lines (18 loc) · 778 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export EMUIIBO_MAJOR := 0
export EMUIIBO_MINOR := 6
export EMUIIBO_MICRO := 3
.PHONY: all clean
all:
@cd emuiibo; sprinkle nsp --release
@$(MAKE) -C overlay/
@rm -rf $(CURDIR)/SdOut
@mkdir -p $(CURDIR)/SdOut/atmosphere/contents/0100000000000352/flags
@touch $(CURDIR)/SdOut/atmosphere/contents/0100000000000352/flags/boot2.flag
@cp $(CURDIR)/emuiibo/target/aarch64-none-elf/release/emuiibo.nsp $(CURDIR)/SdOut/atmosphere/contents/0100000000000352/exefs.nsp
@cp $(CURDIR)/emuiibo/toolbox.json $(CURDIR)/SdOut/atmosphere/contents/0100000000000352/toolbox.json
@mkdir -p $(CURDIR)/SdOut/switch/.overlays
@cp $(CURDIR)/overlay/emuiibo.ovl $(CURDIR)/SdOut/switch/.overlays/emuiibo.ovl
clean:
@rm -rf $(CURDIR)/SdOut
@cd emuiibo; xargo clean
@$(MAKE) clean -C overlay/