view nuc-fw/bsp/Makefile @ 113:3b2e941043d8

nuc-fw/bsp: niq32.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 20 Oct 2013 21:12:41 +0000
parents 45911ad957fd
children 17b0511b243c
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=	armio.o inth.o niq32.o

XTOBJS=	clkm.o niq.o

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

HDRS=

all:	${IOBJS} ${XOBJS}

${AOBJS}:	${HDRS}

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

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