mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-15 16:05:10 +01:00
32 lines
586 B
Makefile
32 lines
586 B
Makefile
ifeq ($(strip $(DEVKITPRO)),)
|
|
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro)
|
|
endif
|
|
|
|
export TOPDIR := $(CURDIR)
|
|
|
|
export LIBFAT_MAJOR := 1
|
|
export LIBFAT_MINOR := 0
|
|
export LIBFAT_PATCH := 13
|
|
|
|
export VERSTRING := $(LIBFAT_MAJOR).$(LIBFAT_MINOR).$(LIBFAT_PATCH)
|
|
|
|
|
|
default: release
|
|
|
|
all: release
|
|
|
|
release: include/libfatversion.h wii-release
|
|
|
|
wii-release:
|
|
$(MAKE) -C libogc PLATFORM=wii BUILD=wii_release
|
|
|
|
clean: ogc-clean
|
|
|
|
ogc-clean:
|
|
$(MAKE) -C libogc clean
|
|
|
|
install: ogc-install
|
|
|
|
ogc-install: cube-release wii-release
|
|
$(MAKE) -C libogc install
|