uLaunch/Makefile

31 lines
No EOL
950 B
Makefile

export Q_VERSION := 0.1
.PHONY: all dev clean
all:
@$(MAKE) -C SystemAppletQDaemon/
@$(MAKE) -C LibraryAppletQMenu/
@$(MAKE) -C LibraryAppletQHbTarget/
@$(MAKE) -C SystemApplicationQHbTarget/
@rm -rf $(CURDIR)/SdOut
@mkdir -p $(CURDIR)/SdOut/titles
@cp -r $(CURDIR)/SystemAppletQDaemon/Out $(CURDIR)/SdOut/titles/0100000000001000
@cp -r $(CURDIR)/LibraryAppletQMenu/Out $(CURDIR)/SdOut/titles/010000000000100B
@cp -r $(CURDIR)/LibraryAppletQHbTarget/Out $(CURDIR)/SdOut/titles/0100000000001001
@cp -r $(CURDIR)/SystemApplicationQHbTarget/Out $(CURDIR)/SdOut/titles/01008BB00013C000
setdev:
$(eval export Q_DEV := 1)
@echo
@echo IMPORTANT! Building in development mode - do not treat this build as release...
@echo
dev: setdev all
clean:
@rm -rf $(CURDIR)/SdOut
@$(MAKE) clean -C SystemAppletQDaemon/
@$(MAKE) clean -C LibraryAppletQMenu/
@$(MAKE) clean -C LibraryAppletQHbTarget/
@$(MAKE) clean -C SystemApplicationQHbTarget/