CC=ucfront-gcc arm-linux-elf-gcc

CFLAGS=-O2 -g -fomit-frame-pointer -fno-common -fno-builtin -Wall  -mswp-byte-writes -DCONFIG_NDS_ROM8BIT -mcpu=arm946e-s -mfpu=fpe3 -DEMBED -D__PIC__ -fpic -msingle-pic-base -Dlinux -D__linux__ -Dunix -D__uClinux__

LD=arm-linux-elf-ld

LDFLAGS=-Wl,-elf2flt -D__PIC__ -fpic -msingle-pic-base -mswp-byte-writes

all: hello

hello: hello.c

$(CC) $(CFLAGS) $(LDFLAGS) –o $@ $^