mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-30 00:24:15 +01:00
31 lines
608 B
Makefile
31 lines
608 B
Makefile
.PHONY: all switch 3dsx cia clean linux
|
|
|
|
export GITREV := $(shell git rev-parse HEAD 2>/dev/null | cut -c1-8)
|
|
export VERSION_MAJOR := 2
|
|
export VERSION_MINOR := 2
|
|
export VERSION_MICRO := 0
|
|
export VERSION := $(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_MICRO)
|
|
|
|
ifneq ($(strip $(GITREV)),)
|
|
export VERSION := $(VERSION)-$(GITREV)
|
|
endif
|
|
|
|
all: 3dsx
|
|
|
|
switch:
|
|
@$(MAKE) -f Makefile.switch all
|
|
|
|
3dsx:
|
|
@$(MAKE) -f Makefile.3ds 3dsx
|
|
|
|
cia:
|
|
@$(MAKE) -f Makefile.3ds cia
|
|
|
|
linux:
|
|
@$(MAKE) -f Makefile.linux
|
|
|
|
clean:
|
|
@$(MAKE) -f Makefile.switch clean
|
|
@$(MAKE) -f Makefile.3ds clean
|
|
@$(MAKE) -f Makefile.linux clean
|