ftpiiu_plugin/Makefile

27 lines
523 B
Makefile
Raw Normal View History

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