mirror of
https://github.com/fail0verflow/bootmii-utils.git
synced 2024-11-25 11:46:53 +01:00
13 lines
345 B
Makefile
13 lines
345 B
Makefile
ifeq ($(strip $(WIIDEV)),)
|
|
$(error "Set WIIDEV in your environment.")
|
|
endif
|
|
|
|
PREFIX = $(WIIDEV)/bin/powerpc-elf-
|
|
|
|
CFLAGS = -mcpu=750 -mpaired -m32 -mhard-float -mno-eabi -mno-sdata
|
|
CFLAGS += -ffreestanding -ffunction-sections
|
|
CFLAGS += -Wall -Wextra -Os -pipe
|
|
ASFLAGS =
|
|
LDFLAGS = -mcpu=750 -m32 -n -nostartfiles -nodefaultlibs -Wl,-gc-sections
|
|
|