add broadway.mk

This commit is contained in:
dhewg 2010-07-11 11:22:23 +02:00
parent e5fc351dd7
commit 706560a68c

12
broadway.mk Normal file
View File

@ -0,0 +1,12 @@
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