broadway.mk 365 B

12345678910111213
  1. ifeq ($(strip $(DEVKITPPC)),)
  2. $(error "Set DEVKITPPC in your environment.")
  3. endif
  4. PREFIX = $(DEVKITPPC)/bin/powerpc-eabi-
  5. CFLAGS = -mcpu=750 -mpaired -m32 -mhard-float -mno-eabi -mno-sdata
  6. CFLAGS += -ffreestanding -ffunction-sections -fdata-sections
  7. CFLAGS += -Wall -Wextra -O2
  8. ASFLAGS =
  9. LDFLAGS = -mcpu=750 -m32 -n -nostartfiles -nodefaultlibs -Wl,-gc-sections