mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-05 11:15:07 +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
|
||
|
|