view nuc-fw/sprintf/Makefile @ 132:2c5160a9d652

nuc-fw: switched from nucdemo to Riviera, got some serial output
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 02 Nov 2013 01:48:11 +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