forked from Fledge68/WiiFlow_Lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (26 loc) · 1.19 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.PHONY = all clean run
CURDIR_TMP := $(CURDIR)
all:
@echo Make App Booter
@$(MAKE) --no-print-directory -C $(CURDIR_TMP)/resources/app_booter \
-f $(CURDIR_TMP)/resources/app_booter/Makefile
@mv -u $(CURDIR_TMP)/resources/app_booter/app_booter.bin \
$(CURDIR_TMP)/out/bins/app_booter.bin
@echo Make WiiFlow Booter
@$(MAKE) --no-print-directory -C $(CURDIR_TMP)/resources/wiiflow_game_booter \
-f $(CURDIR_TMP)/resources/wiiflow_game_booter/Makefile
@mv -u $(CURDIR_TMP)/resources/wiiflow_game_booter/booter.bin \
$(CURDIR_TMP)/out/bins/ext_booter.bin
@echo Make WiiFlow Main
@$(MAKE) --no-print-directory -C $(CURDIR_TMP) -f $(CURDIR_TMP)/Makefile.main
clean:
@echo Cleanup App Booter
@$(MAKE) --no-print-directory -C $(CURDIR_TMP)/resources/app_booter \
-f $(CURDIR_TMP)/resources/app_booter/Makefile clean
@echo Cleanup WiiFlow Booter
@$(MAKE) --no-print-directory -C $(CURDIR_TMP)/resources/wiiflow_game_booter \
-f $(CURDIR_TMP)/resources/wiiflow_game_booter/Makefile clean
@echo Cleanup WiiFlow Main
@$(MAKE) --no-print-directory -C $(CURDIR_TMP) -f $(CURDIR_TMP)/Makefile.main clean
run:
@$(MAKE) --no-print-directory -C $(CURDIR_TMP) -f $(CURDIR_TMP)/Makefile.main run