view gsm-fw/sysglue/Makefile @ 696:7204091241d0

cc_rel.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 30 Sep 2014 02:18:45 +0000
parents 7cf154cd3891
children
line wrap: on
line source

CC=	arm-elf-gcc
CFLAGS=	-Os -fno-builtin -mthumb-interwork -mthumb
ASFLAGS=-mthumb-interwork
LD=	arm-elf-ld

OBJS=	appinit.o exceptions.o irqfiq.o sysinit.o

all:	xipcode.o flashboot.o

flashboot.o:	flashboot.S vectors.S
sysinit.o:	sysinit.S vectors.S

xipcode.o:	${OBJS}
	${LD} -r -o $@ ${OBJS}

clean:
	rm -f *.[oa] *errs