view nuc-fw/bsp/Makefile @ 115:1e41550feec5

nuc-fw: Init_Target() reconstructed
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 27 Oct 2013 04:43:04 +0000
parents 17b0511b243c
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