comparison target-utils/libc/Makefile @ 87:7fb62fc724dc

target-utils/libc: beginning of newlib-ectomy
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 28 Oct 2016 22:20:26 +0000
parents
children 4f3843165014
comparison
equal deleted inserted replaced
86:684eddecbc62 87:7fb62fc724dc
1 CC= arm-elf-gcc
2 CFLAGS= -Os -fno-builtin
3 CPPFLAGS=-I../include
4 AR= arm-elf-ar
5 RANLIB= arm-elf-ranlib
6
7 OBJS= atoi.o ctype_.o index.o rindex.o strcasecmp.o strcat.o strcmp.o \
8 strcpy.o strncat.o strncmp.o strncpy.o
9
10 all: libc.a
11
12 libc.a: ${OBJS}
13 ${AR} cru $@ ${OBJS}
14 ${RANLIB} $@
15
16 clean:
17 rm -f *.[oa] *errs