2018-08-15 18:15:49 +01:00
|
|
|
.PHONY: all nro 3dsx cia clean linux
|
2014-11-23 16:39:00 -06:00
|
|
|
|
2016-06-15 02:44:49 -05:00
|
|
|
export GITREV := $(shell git rev-parse HEAD 2>/dev/null | cut -c1-8)
|
2016-09-17 09:38:20 -05:00
|
|
|
export VERSION_MAJOR := 2
|
|
|
|
export VERSION_MINOR := 2
|
|
|
|
export VERSION_MICRO := 0
|
|
|
|
export VERSION := $(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_MICRO)
|
2016-01-22 14:42:38 -06:00
|
|
|
|
2016-06-15 02:44:49 -05:00
|
|
|
ifneq ($(strip $(GITREV)),)
|
|
|
|
export VERSION := $(VERSION)-$(GITREV)
|
|
|
|
endif
|
|
|
|
|
2018-02-27 14:27:16 +00:00
|
|
|
all:
|
|
|
|
@echo please choose 3dsx, cia, linux, or nro
|
2014-11-23 16:39:00 -06:00
|
|
|
|
2018-02-27 14:27:16 +00:00
|
|
|
nro:
|
2018-02-02 15:35:22 +01:00
|
|
|
@$(MAKE) -f Makefile.switch all
|
|
|
|
|
2016-06-08 22:23:01 -05:00
|
|
|
3dsx:
|
|
|
|
@$(MAKE) -f Makefile.3ds 3dsx
|
|
|
|
|
|
|
|
cia:
|
|
|
|
@$(MAKE) -f Makefile.3ds cia
|
2018-02-02 15:35:22 +01:00
|
|
|
|
2014-11-25 00:13:47 -06:00
|
|
|
linux:
|
|
|
|
@$(MAKE) -f Makefile.linux
|
2014-11-23 16:39:00 -06:00
|
|
|
|
|
|
|
clean:
|
2018-02-02 15:35:22 +01:00
|
|
|
@$(MAKE) -f Makefile.switch clean
|
2014-11-25 00:13:47 -06:00
|
|
|
@$(MAKE) -f Makefile.3ds clean
|
|
|
|
@$(MAKE) -f Makefile.linux clean
|