view nuc-fw/bsp/Makefile @ 120:e7d4ec9c4c32

All of RVF compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 31 Oct 2013 00:17:12 +0000
parents 1e41550feec5
children 789a9a95533f
line wrap: on
line source

CC=	arm-elf-gcc
CFLAGS=	-O2 -fno-builtin -mthumb-interwork
ASFLAGS=-mthumb-interwork
AR=	arm-elf-ar
RANLIB=	arm-elf-ranlib

IOBJS=	niq32.o

XTOBJS=	armio.o clkm.o init_target.o inth.o niq.o timer.o timer1.o timer2.o

XOBJS=	${XTOBJS}
AOBJS=	${IOBJS}

HDRS=

all:	${IOBJS} ${XOBJS}

${AOBJS}:	${HDRS}

${XTOBJS}:	%.o : %.c ${HDRS}
	${CC} ${CFLAGS} -mthumb -c $<

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