mini/starlet.mk
2009-05-15 05:37:53 -07:00

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