13 lines
327 B
Makefile
13 lines
327 B
Makefile
|
ifeq ($(strip $(DEVKITARM)),)
|
||
|
$(error "Set DEVKITARM in your environment.")
|
||
|
endif
|
||
|
|
||
|
PREFIX = $(DEVKITARM)/bin/arm-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
|
||
|
|