view nuc-fw/sprintf/Makefile @ 83:ebe258a85813

toolchain: binutils patch to emit the "short" form of Thumb->ARM call veneers
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 19 Aug 2013 05:16:34 +0000
parents dd13211c9f10
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