view nuc-fw/bsp/Makefile @ 96:57b8dbb029c2

fc-loadtool: GTA0x flash support
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 01 Sep 2013 04:18:32 +0000
parents 45911ad957fd
children 3b2e941043d8
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

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