diosmios/elfloader/starlet.mk

13 lines
327 B
Makefile
Raw Permalink Normal View History

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