mirror of
https://github.com/fail0verflow/hbc.git
synced 2024-11-05 09:35:12 +01:00
13 lines
365 B
Makefile
13 lines
365 B
Makefile
|
ifeq ($(strip $(DEVKITPPC)),)
|
||
|
$(error "Set DEVKITPPC in your environment.")
|
||
|
endif
|
||
|
|
||
|
PREFIX = $(DEVKITPPC)/bin/powerpc-eabi-
|
||
|
|
||
|
CFLAGS = -mcpu=750 -mpaired -m32 -mhard-float -mno-eabi -mno-sdata
|
||
|
CFLAGS += -ffreestanding -ffunction-sections -fdata-sections
|
||
|
CFLAGS += -Wall -Wextra -O2
|
||
|
ASFLAGS =
|
||
|
LDFLAGS = -mcpu=750 -m32 -n -nostartfiles -nodefaultlibs -Wl,-gc-sections
|
||
|
|