2016-06-09 05:23:01 +02:00
|
|
|
.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-01-22 21:42:38 +01:00
|
|
|
export VERSION := 2.2
|
|
|
|
|
2016-06-15 09:44:49 +02:00
|
|
|
ifneq ($(strip $(GITREV)),)
|
|
|
|
export VERSION := $(VERSION)-$(GITREV)
|
|
|
|
endif
|
|
|
|
|
2016-06-09 05:23:01 +02:00
|
|
|
all: 3dsx
|
2014-11-23 23:39:00 +01:00
|
|
|
|
2016-06-09 05:23:01 +02: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
|