summaryrefslogtreecommitdiff
path: root/libc/string/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-12-19 12:46:31 +0000
committerEric Andersen <andersen@codepoet.org>2001-12-19 12:46:31 +0000
commit336f26dbe1cfffd17b465084bd87d027922467da (patch)
treecd8fdc5722fe099a0ac7e596221595062489a162 /libc/string/Makefile
parentbf126cb24e809f36067ce43f9186cbe53b906cad (diff)
Add basename and dirname. Write memrchr.
-Erik
Diffstat (limited to 'libc/string/Makefile')
-rw-r--r--libc/string/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/string/Makefile b/libc/string/Makefile
index 7ef900041..f2a183318 100644
--- a/libc/string/Makefile
+++ b/libc/string/Makefile
@@ -26,7 +26,8 @@ include $(TOPDIR)Rules.mak
MSRC=string.c
MOBJ=strlen.o strcat.o strcpy.o strchr.o strcmp.o strncat.o strncpy.o \
strncmp.o strrchr.o strdup.o strndup.o memcpy.o memccpy.o memset.o \
- memmove.o memcmp.o memchr.o ffs.o strnlen.o strxfrm.o stpcpy.o stpncpy.o
+ memmove.o memcmp.o memchr.o ffs.o strnlen.o strxfrm.o stpcpy.o \
+ stpncpy.o memrchr.o
ifeq ($(HAS_LOCALE),true)
MOBJ += strcoll.o
@@ -40,7 +41,7 @@ MOBJ2=strstr.o strcasestr.o
CSRC=strpbrk.c strsep.c strtok.c strtok_r.c strcspn.c \
strspn.c strcasecmp.c strncasecmp.c strerror.c bcopy.c bzero.c \
- bcmp.c sys_errlist.c
+ bcmp.c sys_errlist.c dirname.c basename.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(MOBJ) $(MOBJ1) $(MOBJ2) $(COBJS)