summaryrefslogtreecommitdiff
path: root/libc/string/Makefile
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-02-26 02:54:33 +0000
committerDavid McCullough <davidm@snapgear.com>2001-02-26 02:54:33 +0000
commit62b59bd5ed8ff393c5f129dbd538966a2cfc0702 (patch)
tree97552252573c35029641f3203f0f3d762c867787 /libc/string/Makefile
parentc2ba9eda4a5cd8fa5f2b176cc75a21c4f671a992 (diff)
Added "psignal" function
Diffstat (limited to 'libc/string/Makefile')
-rw-r--r--libc/string/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/libc/string/Makefile b/libc/string/Makefile
index 5a2aa3c04..940194050 100644
--- a/libc/string/Makefile
+++ b/libc/string/Makefile
@@ -32,11 +32,14 @@ MOBJ=strlen.o strcat.o strcpy.o strchr.o strcmp.o strncat.o strncpy.o \
MSRC1=index.c
MOBJ1=index.o rindex.o
+MSRC2=strsignal.c
+MOBJ2=strsignal.o psignal.o
+
CSRC=strpbrk.c strsep.c strstr.c strtok.c strcspn.c config.c strspn.c \
strcasecmp.c strncasecmp.c strerror.c bcopy.c bzero.c bcmp.c \
- strsignal.c sys_errlist.c
+ sys_errlist.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
-OBJS=$(MOBJ) $(MOBJ1) $(COBJS)
+OBJS=$(MOBJ) $(MOBJ1) $(MOBJ2) $(COBJS)
all: $(OBJS) $(LIBC)
@@ -53,6 +56,10 @@ $(MOBJ1): $(MSRC1)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
$(STRIPTOOL) -x -R .note -R .comment $*.o
+$(MOBJ2): $(MSRC2)
+ $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
+
$(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o