hbc/broadway.mk

13 lines
356 B
Makefile
Raw Normal View History

2016-11-23 06:35:12 +01:00
ifeq ($(strip $(DEVKITPPC)),)
$(error "Set DEVKITPPC in your environment.")
endif
PREFIX = $(DEVKITPPC)/bin/powerpc-eabi-
2020-09-06 06:15:56 +02:00
CFLAGS = -mcpu=750 -m32 -mhard-float -mno-eabi -mno-sdata
2016-11-23 06:35:12 +01:00
CFLAGS += -ffreestanding -ffunction-sections -fdata-sections
CFLAGS += -Wall -Wextra -O2
ASFLAGS =
LDFLAGS = -mcpu=750 -m32 -n -nostartfiles -nodefaultlibs -Wl,-gc-sections