2012-02-13 21:26:22 +01:00
|
|
|
ifeq ($(strip $(DEVKITPRO)),)
|
|
|
|
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro)
|
2010-12-26 18:02:14 +01:00
|
|
|
endif
|
2012-02-13 21:26:22 +01:00
|
|
|
|
|
|
|
export TOPDIR := $(CURDIR)
|
|
|
|
|
|
|
|
export LIBFAT_MAJOR := 1
|
|
|
|
export LIBFAT_MINOR := 0
|
2015-03-08 17:40:59 +01:00
|
|
|
export LIBFAT_PATCH := 13
|
2012-02-13 21:26:22 +01:00
|
|
|
|
|
|
|
export VERSTRING := $(LIBFAT_MAJOR).$(LIBFAT_MINOR).$(LIBFAT_PATCH)
|
|
|
|
|
2010-12-26 18:02:14 +01:00
|
|
|
|
2012-02-13 21:26:22 +01:00
|
|
|
default: release
|
2010-12-26 18:02:14 +01:00
|
|
|
|
2012-02-13 21:26:22 +01:00
|
|
|
all: release
|
2010-12-26 18:02:14 +01:00
|
|
|
|
2012-02-13 21:26:22 +01:00
|
|
|
release: include/libfatversion.h wii-release
|
2010-12-26 18:02:14 +01:00
|
|
|
|
2012-02-13 21:26:22 +01:00
|
|
|
wii-release:
|
|
|
|
$(MAKE) -C libogc PLATFORM=wii BUILD=wii_release
|
2010-12-26 18:02:14 +01:00
|
|
|
|
2012-02-13 21:26:22 +01:00
|
|
|
clean: ogc-clean
|
2010-12-26 18:02:14 +01:00
|
|
|
|
2012-02-13 21:26:22 +01:00
|
|
|
ogc-clean:
|
|
|
|
$(MAKE) -C libogc clean
|
2010-12-26 18:02:14 +01:00
|
|
|
|
2012-02-13 21:26:22 +01:00
|
|
|
install: ogc-install
|
2010-12-26 18:02:14 +01:00
|
|
|
|
2012-02-13 21:26:22 +01:00
|
|
|
ogc-install: cube-release wii-release
|
|
|
|
$(MAKE) -C libogc install
|