view nuc-fw/sprintf/Makefile @ 82:dd13211c9f10

nuc-fw: building XIP code in Thumb as intended
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 17 Aug 2013 19:29:48 +0000
parents 947b1f473960
children
line wrap: on
line source

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

OBJS=	doprnt.o sprintf.o vsprintf.o

all:	libsprintf.a

libsprintf.a:	${OBJS}
	${AR} cru $@ ${OBJS}
	${RANLIB} $@

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