mirror of
https://github.com/fail0verflow/bootmii-utils.git
synced 2024-12-01 22:44:18 +01:00
13 lines
320 B
Makefile
13 lines
320 B
Makefile
ifeq ($(strip $(WIIDEV)),)
|
|
$(error "Set WIIDEV in your environment.")
|
|
endif
|
|
|
|
PREFIX = $(WIIDEV)/bin/armeb-eabi-
|
|
|
|
CFLAGS = -mbig-endian -mcpu=arm926ej-s
|
|
CFLAGS += -fomit-frame-pointer -ffunction-sections
|
|
CFLAGS += -Wall -Wextra -Os -pipe
|
|
ASFLAGS =
|
|
LDFLAGS = -mbig-endian -n -nostartfiles -nodefaultlibs -Wl,-gc-sections
|
|
|