summaryrefslogtreecommitdiff
path: root/libc/string/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/Makefile')
-rw-r--r--libc/string/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/libc/string/Makefile b/libc/string/Makefile
index 3d2e3d2de..d8d65fa3d 100644
--- a/libc/string/Makefile
+++ b/libc/string/Makefile
@@ -27,11 +27,10 @@ LIBC=$(TOPDIR)libc.a
MSRC=string.c
MOBJ=strlen.o strcat.o strcpy.o strcmp.o strncat.o strncpy.o strncmp.o \
strchr.o strrchr.o strdup.o memcpy.o memccpy.o memset.o \
- memmove.o
+ memmove.o memcmp.o memchr.o
CSRC=strpbrk.c strsep.c strstr.c strtok.c strcspn.c \
- config.c memcmp.c memchr.c strspn.c strcasecmp.c \
- strncasecmp.c
+ config.c strspn.c strcasecmp.c strncasecmp.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
all: $(MOBJ) $(COBJS) $(LIBC)
@@ -42,8 +41,6 @@ $(LIBC): $(MOBJ) $(COBJS)
$(MOBJ): $(MSRC)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
-memcmp.o: memcopy.h
-
clean:
rm -f *.[oa] *~ core