mirror of
https://github.com/ndeadly/MissionControl
synced 2024-11-25 13:50:22 +00:00
35 lines
754 B
Makefile
35 lines
754 B
Makefile
PROJECT_NAME := MissionControl
|
|
BTDRVMITM_TID := 010000000000bd00
|
|
|
|
TARGETS := btdrv-mitm
|
|
|
|
all: $(TARGETS)
|
|
|
|
btdrv-mitm:
|
|
$(MAKE) -C $@
|
|
|
|
#applet:
|
|
#$(MAKE) -C $@
|
|
|
|
clean:
|
|
$(MAKE) -C btdrv-mitm clean
|
|
#$(MAKE) -C applet clean
|
|
rm -rf dist
|
|
|
|
dist: all
|
|
rm -rf dist
|
|
|
|
mkdir -p dist/atmosphere/contents/$(BTDRVMITM_TID)
|
|
cp btdrv-mitm/btdrv-mitm.nsp dist/atmosphere/contents/$(BTDRVMITM_TID)/exefs.nsp
|
|
#mkdir -p dist/atmosphere/contents/$(BTDRVMITM_TID)/flags
|
|
#touch dist/atmosphere/contents/$(BTDRVMITM_TID)/flags/boot2.flag
|
|
#echo "btdrv" > mitm.lst
|
|
|
|
#mkdir -p dist/switch
|
|
#cp applet/applet.nro dist/switch/$(PROJECT_NAME).nro
|
|
|
|
cp -r exefs_patches dist/atmosphere/
|
|
|
|
cd dist; zip -r $(PROJECT_NAME).zip ./*; cd ../;
|
|
|
|
.PHONY: all clean dist $(TARGETS)
|