uLaunch/Makefile

35 lines
1.2 KiB
Makefile
Raw Normal View History

2019-10-12 23:26:30 +00:00
2019-11-23 13:32:29 +00:00
export Q_VERSION := 0.2
2019-10-20 19:08:14 +00:00
2019-10-24 17:24:00 +00:00
.PHONY: all dev clean
2019-10-12 23:26:30 +00:00
all:
@$(MAKE) -C libstratosphere/
2019-10-12 23:26:30 +00:00
@$(MAKE) -C SystemAppletQDaemon/
@$(MAKE) -C LibraryAppletQMenu/
@$(MAKE) -C LibraryAppletQHbTarget/
@$(MAKE) -C SystemApplicationQHbTarget/
@rm -rf $(CURDIR)/SdOut
@mkdir -p $(CURDIR)/SdOut/atmosphere/contents
@mkdir -p $(CURDIR)/SdOut/ulaunch/bin/QMenu
@cp -r $(CURDIR)/SystemAppletQDaemon/Out $(CURDIR)/SdOut/atmosphere/contents/0100000000001000
@cp -r $(CURDIR)/LibraryAppletQMenu/Out $(CURDIR)/SdOut/atmosphere/contents/010000000000100B
@build_romfs $(CURDIR)/LibraryAppletQMenu/RomFs $(CURDIR)/SdOut/ulaunch/bin/QMenu/romfs.bin
@cp -r $(CURDIR)/LibraryAppletQHbTarget/Out $(CURDIR)/SdOut/atmosphere/contents/0100000000001001
@cp -r $(CURDIR)/SystemApplicationQHbTarget/Out $(CURDIR)/SdOut/atmosphere/contents/01008BB00013C000
2019-10-12 23:26:30 +00:00
2019-10-24 17:24:00 +00:00
setdev:
$(eval export Q_DEV := 1)
@echo
@echo IMPORTANT! Building in development mode - do not treat this build as release...
@echo
dev: setdev all
2019-10-12 23:26:30 +00:00
clean:
@rm -rf $(CURDIR)/SdOut
@$(MAKE) clean -C libstratosphere/
2019-10-12 23:26:30 +00:00
@$(MAKE) clean -C SystemAppletQDaemon/
@$(MAKE) clean -C LibraryAppletQMenu/
@$(MAKE) clean -C LibraryAppletQHbTarget/
@$(MAKE) clean -C SystemApplicationQHbTarget/